Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 948b65d

Browse files
committed
update dist
1 parent 440025b commit 948b65d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/gridstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@
13601360

13611361
GridStack.prototype.cellWidth = function() {
13621362
var o = this.container.children('.' + this.opts.itemClass).first();
1363-
return Math.ceil(o.outerWidth() / o.attr('data-gs-width'));
1363+
return Math.ceil(o.outerWidth() / parseInt(o.attr('data-gs-width'), 10));
13641364
};
13651365

13661366
GridStack.prototype.getCellFromPixel = function(position, useOffset) {
@@ -1466,7 +1466,7 @@
14661466
GridStack.prototype._update_container_height = obsolete(GridStack.prototype._updateContainerHeight,
14671467
'_update_container_height', '_updateContainerHeight');
14681468
GridStack.prototype._is_one_column_mode = obsolete(GridStack.prototype._isOneColumnMode,
1469-
'_is_one_column_mode',' _isOneColumnMode');
1469+
'_is_one_column_mode','_isOneColumnMode');
14701470
GridStack.prototype._prepare_element = obsolete(GridStack.prototype._prepareElement,
14711471
'_prepare_element', '_prepareElement');
14721472
GridStack.prototype.set_animation = obsolete(GridStack.prototype.setAnimation,

0 commit comments

Comments
 (0)