Skip to content

Commit

Permalink
fix: pasting clipboard image to edge not working
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuwoo.choi authored and seonim-ryu committed Jan 6, 2020
1 parent 1b838b6 commit 5470d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/editor/src/js/importManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class ImportManager {
const blobItems = cbData && cbData.items;
const {types} = cbData;

if (blobItems && types && types.length === 1 && util.inArray('Files', types) !== -1) {
if (blobItems && types && types.length === 1 && util.inArray('Files', [].slice.call(types)) !== -1) {
this._processBlobItems(blobItems, evData);
}
}
Expand Down

0 comments on commit 5470d41

Please sign in to comment.