File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -453,13 +453,13 @@ angular.module('g1b.calendar-heatmap', []).
453
453
var itemScale = d3 . scale . linear ( )
454
454
. range ( [ 0 , item_width ] ) ;
455
455
456
- item_block . selectAll ( 'rect' )
456
+ item_block . selectAll ( '.item-block- rect' )
457
457
. data ( function ( d ) {
458
458
return d . summary ;
459
459
} )
460
460
. enter ( )
461
461
. append ( 'rect' )
462
- . attr ( 'class' , 'item item-block' )
462
+ . attr ( 'class' , 'item item-block-rect ' )
463
463
. attr ( 'x' , function ( d ) {
464
464
var total = parseInt ( d3 . select ( this . parentNode ) . attr ( 'total' ) ) ;
465
465
var offset = parseInt ( d3 . select ( this . parentNode ) . attr ( 'offset' ) ) ;
@@ -892,7 +892,7 @@ angular.module('g1b.calendar-heatmap', []).
892
892
* Transition and remove items and labels related to month overview
893
893
*/
894
894
scope . removeMonthOverview = function ( ) {
895
- svg . selectAll ( '.item-block' )
895
+ svg . selectAll ( '.item-block-rect ' )
896
896
. transition ( )
897
897
. duration ( transition_duration )
898
898
. ease ( 'ease-in' )
You can’t perform that action at this time.
0 commit comments