summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 7e41c1a7a59..f6870e62710 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -131,7 +131,7 @@ OCdialogs = {
},
{text: t('dialogs', 'Cancel'), click: function(){$(c_id).dialog('close'); }}
];
- $(c_id).dialog({width: 4*$(document).width()/9, height: 400, modal: modal, buttons: b});
+ $(c_id).dialog({width: ((4*$('body').width())/9), height: 400, modal: modal, buttons: b});
OCdialogs.dialogs_counter++;
},
// guts, dont use, dont touch