File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
projects/igniteui-angular/src/lib/slider Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ const THUMB_TO_CLASS = '.igx-slider__thumb-to';
1515const THUMB_FROM_CLASS = '.igx-slider__thumb-from' ;
1616const SLIDER_TICKS_ELEMENT = '.igx-slider__ticks' ;
1717const SLIDER_TICKS_TOP_ELEMENT = '.igx-slider__ticks--top' ;
18- const SLIDER_PRIMARY_GROUP_TICKS_CLASS = '.igx-slider__ticks-group--tall' ;
18+ const SLIDER_PRIMARY_GROUP_TICKS_CLASS_NAME = 'igx-slider__ticks-group--tall' ;
19+ const SLIDER_PRIMARY_GROUP_TICKS_CLASS = `.${ SLIDER_PRIMARY_GROUP_TICKS_CLASS_NAME } ` ;
1920const SLIDER_GROUP_TICKS_CLASS = '.igx-slider__ticks-group' ;
2021const SLIDER_TICK_LABELS_CLASS = '.igx-slider__ticks-label' ;
2122const SLIDER_TICK_LABELS_HIDDEN_CLASS = 'igx-slider__tick-label--hidden' ;
@@ -1663,7 +1664,7 @@ describe('IgxSlider', () => {
16631664 function verifySecondaryTicsLabelsAreHidden ( ticks , hidden ) {
16641665 const allTicks = Array . from ( ticks . nativeElement . querySelectorAll ( `${ SLIDER_GROUP_TICKS_CLASS } ` ) ) ;
16651666 const secondaryTicks = allTicks . filter ( ( tick : any ) =>
1666- ! tick . classList . contains ( SLIDER_PRIMARY_GROUP_TICKS_CLASS )
1667+ ! tick . classList . contains ( SLIDER_PRIMARY_GROUP_TICKS_CLASS_NAME )
16671668 ) ;
16681669 secondaryTicks . forEach ( tick => {
16691670 const label = ( tick as HTMLElement ) . querySelector ( SLIDER_TICK_LABELS_CLASS ) ;
You can’t perform that action at this time.
0 commit comments