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 @@ -17,7 +17,7 @@ export default class PaperButton extends Focusable {
1717  element ; 
1818  /** 
1919   * The parent this component is bound to. 
20-    * @type  {Boolean } 
20+    * @type  {PaperForm|PaperItem|PaperTabs } 
2121   */ 
2222  parent ; 
2323  /** 
@@ -54,7 +54,7 @@ export default class PaperButton extends Focusable {
5454    this . registerListeners ( element ) ; 
5555
5656    if  ( this . shouldRegister )  { 
57-       this . args . parentComponent . registerChild ( this ) ; 
57+       this . parent . registerChild ( this ) ; 
5858    } 
5959  } 
6060
@@ -77,7 +77,7 @@ export default class PaperButton extends Focusable {
7777    super . willDestroy ( ...arguments ) ; 
7878
7979    if  ( this . shouldRegister )  { 
80-       this . args . parentComponent . unregisterChild ( this ) ; 
80+       this . parent . unregisterChild ( this ) ; 
8181    } 
8282  } 
8383
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments