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 269269
270270 element . gantt = $ ( '<div class="fn-gantt" />' ) . append ( content ) ;
271271
272- $ ( element ) . html ( element . gantt ) ;
272+ $ ( element ) . html ( element . gantt . html ( ) ) ;
273273
274274 element . scrollNavigation . panelMargin = parseInt ( $dataPanel . css ( "margin-left" ) . replace ( "px" , "" ) , 10 ) ;
275275 element . scrollNavigation . panelMaxPos = ( $dataPanel . width ( ) - $rightPanel . width ( ) ) ;
997997 var R = parseInt ( rgbArr [ 0 ] , 10 ) ;
998998 var G = parseInt ( rgbArr [ 1 ] , 10 ) ;
999999 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 ) ;
10011001 return "rgb(" + gray + ", " + gray + ", " + gray + ")" ;
10021002 } catch ( err ) {
10031003 return "" ;
You can’t perform that action at this time.
0 commit comments