Remove redundant code

pull/298/merge
Aleksander Machniak 8 years ago
parent d74dd5b6cb
commit 094f90d596

@ -1085,6 +1085,5 @@ rcube_webmail.prototype.managesieve_dialog_resize = function(o)
height = form.height(),
w = win.width(), h = win.height();
dialog.dialog('option', { height: Math.min(h-20, height+120), width: Math.min(w-20, width+65) })
.dialog('option', 'position', ['center', 'center']); // works in a separate call only (!?)
dialog.dialog('option', { height: Math.min(h-20, height+120), width: Math.min(w-20, width+65) });
}

Loading…
Cancel
Save