forked from MapComplete/MapComplete
		
	Translations
This commit is contained in:
		
							parent
							
								
									615bbec05d
								
							
						
					
					
						commit
						369c19a58a
					
				
					 34 changed files with 287 additions and 173 deletions
				
			
		|  | @ -37,11 +37,10 @@ export abstract class UIElement { | |||
|      | ||||
|     Update(): void { | ||||
|         let element = document.getElementById(this.id); | ||||
|         if (element === null || element === undefined) { | ||||
|         if (element === undefined || element === null) { | ||||
|             // The element is not painted
 | ||||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         element.innerHTML = this.InnerRender(); | ||||
|         if (this._hideIfEmpty) { | ||||
|             if (element.innerHTML === "") { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue