Skip to content

Commit

Permalink
do not try to use hidden container to track images for unconfirmed br…
Browse files Browse the repository at this point in the history
…owsers
  • Loading branch information
layerssss committed Feb 6, 2016
1 parent fb640c8 commit 8d08124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paste.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Paste

@mountTextarea: (textarea)->
# Firefox & IE
return @mountContenteditable textarea if -1 != navigator.userAgent.toLowerCase().indexOf('chrome')
return @mountContenteditable textarea unless navigator.userAgent.toLowerCase().match /firefox|trident|edge/
paste = new Paste createHiddenEditable().insertBefore(textarea), textarea
ctlDown = false
$(textarea).on 'keyup', (ev)->
Expand Down
2 changes: 1 addition & 1 deletion paste.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d08124

Please sign in to comment.