Merge branch 'master' into bugfix/amd-jquery-ui

This commit is contained in:
d 2015-05-30 16:05:44 -04:00
commit da3ab07e86
2 changed files with 3 additions and 3 deletions

View file

@ -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) {