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:
parent
255831f4eb
commit
135d1f63ad
@ -53,6 +53,7 @@ window.dialog = function(options) {
|
|||||||
options = options || {};
|
options = options || {};
|
||||||
if(isSmartphone()) {
|
if(isSmartphone()) {
|
||||||
options.modal = true;
|
options.modal = true;
|
||||||
|
options.width = 'auto';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build an identifier for this dialog
|
// Build an identifier for this dialog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user