File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6464 }
6565
6666 var $thFirst = $ths . first ( ) ;
67- var thSpace = parseInt ( $thFirst . css ( 'paddingLeft' ) , 0 ) + parseInt ( $thFirst . css ( 'paddingRight' ) , 0 ) ;
67+ var thSpace = parseInt ( $thFirst . css ( 'paddingLeft' ) , 10 ) + parseInt ( $thFirst . css ( 'paddingRight' ) , 10 ) ;
6868
6969 /* set width and textAlign from colModal */
7070 var ct = 0 ;
@@ -74,7 +74,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7474 calcWidth += cfg . colModal [ ct ] . width ;
7575 ct ++ ;
7676 }
77- // $(el).css({width: calcWidth, textAlign: cfg.colModal[ct-1].align});
77+ $ ( el ) . css ( { width : calcWidth , textAlign : cfg . colModal [ ct - 1 ] . align } ) ;
7878
7979 lc . tableWidth += calcWidth + thSpace + ( ( i == 0 ) ?2 :1 ) ;
8080 } ) ;
You can’t perform that action at this time.
0 commit comments