don't remove the style

master
jfh 2020-08-20 15:29:39 +02:00
parent 8f827c973f
commit 7829adb5a0
1 changed files with 0 additions and 1 deletions

View File

@ -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) {