- Fix: Ensure repeated selection of same file overwrites with that

file's contents (fix #289)
This commit is contained in:
Brett Zamir
2018-09-25 11:19:13 +08:00
parent 0034447d44
commit fa37778ec0
10 changed files with 12 additions and 10 deletions

2
dist/index-es.js vendored
View File

@@ -30780,7 +30780,7 @@ editor.init = function () {
workarea[0].addEventListener('dragleave', onDragLeave, false);
workarea[0].addEventListener('drop', importImage, false);
var open = $$b('<input type="file">').change(function () {
var open = $$b('<input type="file">').click(function () {
var f = this;
editor.openPrep(function (ok) {
if (!ok) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index-umd.js vendored
View File

@@ -30786,7 +30786,7 @@
workarea[0].addEventListener('dragleave', onDragLeave, false);
workarea[0].addEventListener('drop', importImage, false);
var open = $$b('<input type="file">').change(function () {
var open = $$b('<input type="file">').click(function () {
var f = this;
editor.openPrep(function (ok) {
if (!ok) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long