Skip to content

Commit

Permalink
Fix open in swan for IE < 12 (#120)
Browse files Browse the repository at this point in the history
* Fix open in swan for IE < 12

* Remove console.log lines
  • Loading branch information
labkode authored Jun 1, 2017
1 parent 2917041 commit daa4d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/fileactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@
var mountType = context.$file.attr('data-mounttype');

if(context.$file.attr('data-mime') == 'application/pynb'
&& !context.$file.attr('data-file').startsWith('.')
&& context.$file.attr('data-file').indexOf('.') !== 0
&& (mountType === undefined || (mountType && mountType !== 'shared')))
{
var $elSwan = this._renderInlineAction({
Expand Down

0 comments on commit daa4d1d

Please sign in to comment.