From 135d1f63ade6d932f0c2586da0226f65c998c92b Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Tue, 2 Jul 2013 12:25:16 +0200 Subject: [PATCH] set modal dialog width to auto (height is auto by default) since you can't see all information on a shrinked info dialog (fixes #399) --- code/dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/code/dialog.js b/code/dialog.js index ef077a1c..15664a9e 100644 --- a/code/dialog.js +++ b/code/dialog.js @@ -53,6 +53,7 @@ window.dialog = function(options) { options = options || {}; if(isSmartphone()) { options.modal = true; + options.width = 'auto'; } // Build an identifier for this dialog