diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-01-25 20:58:15 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-25 20:58:15 +0000 |
commit | 573f787d63690834cb4b7e83d6c3c6dc0be005c8 (patch) | |
tree | ffb9038a4f3852d0fbc9cab2529c6afa1e593446 | |
parent | be2b1b64005bf4be3e1984efc47c2df54053c8da (diff) |
Set dialog width to 200px for dialog's whose content is less than 400px wide, like the login form.
-rw-r--r-- | lib/gallery.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index eb87533e..cfc89227 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -55,7 +55,7 @@ function openDialog(element, on_success) { } $("#ui-dialog-title-gDialog").html(sTitle); if (parent.width() < 400) { - parent.css("width", 400); + parent.css("width", 200); } parent.css({"opacity": "1.0"}); ajaxify_dialog = function() { |