client/html: fix upload error when pool input is disabled
This commit is contained in:
		
							parent
							
								
									b8c5b27195
								
							
						
					
					
						commit
						029c112011
					
				@ -236,10 +236,12 @@ class PostEditSidebarControl extends events.EventTarget {
 | 
			
		||||
            );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        this._poolControl.addEventListener("change", (e) => {
 | 
			
		||||
            this.dispatchEvent(new CustomEvent("change"));
 | 
			
		||||
            this._syncExpanderTitles();
 | 
			
		||||
        });
 | 
			
		||||
        if (this._poolControl) {
 | 
			
		||||
            this._poolControl.addEventListener("change", (e) => {
 | 
			
		||||
                this.dispatchEvent(new CustomEvent("change"));
 | 
			
		||||
                this._syncExpanderTitles();
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    _syncExpanderTitles() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user