don't remove the style
parent
8f827c973f
commit
7829adb5a0
|
@ -6195,7 +6195,6 @@ editor.init = function () {
|
||||||
$.process_cancel(uiStrings.notification.loadingImage);
|
$.process_cancel(uiStrings.notification.loadingImage);
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('#workarea').removeAttr('style');
|
|
||||||
$('#main_menu').hide();
|
$('#main_menu').hide();
|
||||||
const file = (e.type === 'drop') ? e.dataTransfer.files[0] : this.files[0];
|
const file = (e.type === 'drop') ? e.dataTransfer.files[0] : this.files[0];
|
||||||
if (!file) {
|
if (!file) {
|
||||||
|
|
Loading…
Reference in New Issue