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 269
269
270
270
element . gantt = $ ( '<div class="fn-gantt" />' ) . append ( content ) ;
271
271
272
- $ ( element ) . html ( element . gantt ) ;
272
+ $ ( element ) . html ( element . gantt . html ( ) ) ;
273
273
274
274
element . scrollNavigation . panelMargin = parseInt ( $dataPanel . css ( "margin-left" ) . replace ( "px" , "" ) , 10 ) ;
275
275
element . scrollNavigation . panelMaxPos = ( $dataPanel . width ( ) - $rightPanel . width ( ) ) ;
997
997
var R = parseInt ( rgbArr [ 0 ] , 10 ) ;
998
998
var G = parseInt ( rgbArr [ 1 ] , 10 ) ;
999
999
var B = parseInt ( rgbArr [ 2 ] , 10 ) ;
1000
- var gray = Math . round ( ( 255 - ( 0.299 * R + 0.587 * G + 0.114 * B ) ) * 0.9 , 1 ) ;
1000
+ var gray = Math . round ( ( 255 - ( 0.299 * R + 0.587 * G + 0.114 * B ) ) * 0.9 ) ;
1001
1001
return "rgb(" + gray + ", " + gray + ", " + gray + ")" ;
1002
1002
} catch ( err ) {
1003
1003
return "" ;
You can’t perform that action at this time.
0 commit comments