File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ class Exports {
5151    const  ycrosshairs  =  w . globals . dom . baseEl . getElementsByClassName ( 
5252      'apexcharts-ycrosshairs' 
5353    ) 
54-     const  zoomSelectionRects  =  w . globals . dom . baseEl . getElementsByClassName ( 
55-       'apexcharts-zoom-rect  apexcharts-selection-rect' 
54+     const  zoomSelectionRects  =  w . globals . dom . baseEl . querySelectorAll ( 
55+       '. apexcharts-zoom-rect, . apexcharts-selection-rect' 
5656    ) 
5757    Array . prototype . forEach . call ( zoomSelectionRects ,  ( z )  =>  { 
5858      z . setAttribute ( 'width' ,  0 ) 
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ export default class Series {
116116  toggleSeriesOnHover ( e ,  targetElement )  { 
117117    const  w  =  this . w 
118118
119-     let  allSeriesEls  =  w . globals . dom . baseEl . getElementsByClassName ( 
120-       `apexcharts-series  apexcharts-datalabels` 
119+     let  allSeriesEls  =  w . globals . dom . baseEl . querySelectorAll ( 
120+       `. apexcharts-series, . apexcharts-datalabels` 
121121    ) 
122122
123123    if  ( e . type  ===  'mousemove' )  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments