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)

This commit is contained in:
Philipp Schaefer 2013-07-02 12:25:16 +02:00
parent 255831f4eb
commit 135d1f63ad

View File

@ -53,6 +53,7 @@ window.dialog = function(options) {
options = options || {};
if(isSmartphone()) {
options.modal = true;
options.width = 'auto';
}
// Build an identifier for this dialog