Merge branch 'master' into bugfix/amd-jquery-ui
This commit is contained in:
commit
da3ab07e86
2 changed files with 3 additions and 3 deletions
|
|
@ -550,7 +550,7 @@
|
|||
};
|
||||
|
||||
GridStack.prototype._is_one_column_mode = function () {
|
||||
return $(window).width() <= this.opts.min_width;
|
||||
return (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) <= this.opts.min_width;
|
||||
};
|
||||
|
||||
GridStack.prototype._prepare_element = function (el) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue