Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed the problem that cannot paste image in IE11 (#58)
  • Loading branch information
jhlee8804 authored and layerssss committed Apr 17, 2019
1 parent 01a1cf7 commit ceec57c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion paste.coffee
Expand Up @@ -218,7 +218,8 @@ class Paste
else
for file in clipboardData.files
@_handleImage URL.createObjectURL(file), @originalEvent
@_checkImagesInContainer (src)->
@_checkImagesInContainer (src)=>
@_handleImage src, @originalEvent
null

_handleImage: (src, e, name)->
Expand Down
4 changes: 3 additions & 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 ceec57c

Please sign in to comment.