File tree 3 files changed +4
-4
lines changed 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1360
1360
1361
1361
GridStack . prototype . cellWidth = function ( ) {
1362
1362
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 ) ) ;
1364
1364
} ;
1365
1365
1366
1366
GridStack . prototype . getCellFromPixel = function ( position , useOffset ) {
1466
1466
GridStack . prototype . _update_container_height = obsolete ( GridStack . prototype . _updateContainerHeight ,
1467
1467
'_update_container_height' , '_updateContainerHeight' ) ;
1468
1468
GridStack . prototype . _is_one_column_mode = obsolete ( GridStack . prototype . _isOneColumnMode ,
1469
- '_is_one_column_mode' , ' _isOneColumnMode' ) ;
1469
+ '_is_one_column_mode' , '_isOneColumnMode' ) ;
1470
1470
GridStack . prototype . _prepare_element = obsolete ( GridStack . prototype . _prepareElement ,
1471
1471
'_prepare_element' , '_prepareElement' ) ;
1472
1472
GridStack . prototype . set_animation = obsolete ( GridStack . prototype . setAnimation ,
You can’t perform that action at this time.
0 commit comments