diff --git a/js/ui/dialog.js b/js/ui/dialog.js index 5f31b5842..b36d7f177 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -277,7 +277,7 @@ $.fn.elfinderdialog = function(opts, fm) { }).position(); mnode = dialog.clone().on('mousedown', function() { $this.trigger('mousedown'); - }).removeClass('ui-draggable ui-resizable elfinder-frontmost'); + }).removeClass('ui-draggable ui-resizable elfinder-frontmost elfinder-maximized'); tray.append(dum); Object.assign(pos, dum.offset(), dumStyle); dum.remove();