File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -1070,24 +1070,6 @@ export class TabBar<T> extends Widget {
10701070      detachRequested : false 
10711071    } ; 
10721072
1073-     // Add the document pointer up listener. 
1074-     this . document . addEventListener ( 'pointerup' ,  this ,  true ) ; 
1075- 
1076-     // Do nothing else if the middle button or add button is clicked. 
1077-     if  ( event . button  ===  1  ||  addButtonClicked )  { 
1078-       return ; 
1079-     } 
1080-     if  ( scrollBeforeButtonClicked  ||  scrollAfterButtonClicked )  { 
1081-       this . beginScrolling ( scrollBeforeButtonClicked  ? '-'  : '+' ) ; 
1082-       return ; 
1083-     } 
1084- 
1085-     // Do nothing else if the close icon is clicked. 
1086-     let  icon  =  tabs [ index ] . querySelector ( this . renderer . closeIconSelector ) ; 
1087-     if  ( icon  &&  icon . contains ( event . target  as  HTMLElement ) )  { 
1088-       return ; 
1089-     } 
1090- 
10911073    // Add the extra listeners if the tabs are movable. 
10921074    if  ( this . tabsMovable )  { 
10931075      this . document . addEventListener ( 'pointermove' ,  this ,  true ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments