Merge e5d8c7bb39 into b09ae61fe2
This commit is contained in:
commit
31b856af3d
1 changed files with 2 additions and 2 deletions
|
|
@ -1494,8 +1494,8 @@
|
|||
};
|
||||
|
||||
GridStack.prototype.cellWidth = function() {
|
||||
var o = this.container.children('.' + this.opts.itemClass).first();
|
||||
return Math.ceil(o.outerWidth() / parseInt(o.attr('data-gs-width'), 10));
|
||||
var o = $(this.container);
|
||||
return Math.ceil(o.outerWidth() / o.attr('data-gs-width'));
|
||||
};
|
||||
|
||||
GridStack.prototype.getCellFromPixel = function(position, useOffset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue