From 948103f075844d8d3be389e26d1b2e2b3d1a0a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Solard?= Date: Wed, 13 Aug 2014 10:32:02 +0200 Subject: [PATCH] Delete a JS rule related to margin of some modal-boxes --- modoboa/static/js/global.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modoboa/static/js/global.js b/modoboa/static/js/global.js index bb33cb826..cef1a24d7 100644 --- a/modoboa/static/js/global.js +++ b/modoboa/static/js/global.js @@ -68,10 +68,7 @@ function modalbox(e, css, defhref, defcb, defclosecb) { } function modalbox_autowidth(e) { - modalbox.apply(this, [e, { - width: 'auto', - 'margin-left': function() { return -($(this).width() / 2); } - }]); + modalbox.apply(this, [e]); } /*