forked from MapComplete/MapComplete
		
	Remove a few empty spaces and line breaks
Most it is done by my editor automatically.
This commit is contained in:
		
							parent
							
								
									4aebf05918
								
							
						
					
					
						commit
						c2ee058682
					
				
					 8 changed files with 19 additions and 24 deletions
				
			
		|  | @ -14,7 +14,7 @@ export class SubtleButton extends UIElement{ | |||
|         this.linkTo = linkTo; | ||||
|         this.message = Translations.W(message); | ||||
|         if(this.message !== null){ | ||||
|         this.message.dumbMode = false; | ||||
|             this.message.dumbMode = false; | ||||
|         } | ||||
|         if ((imageUrl ?? "") === "") { | ||||
|             this.image = new FixedUiElement(""); | ||||
|  | @ -27,7 +27,7 @@ export class SubtleButton extends UIElement{ | |||
|     } | ||||
| 
 | ||||
|     InnerRender(): string { | ||||
|          | ||||
| 
 | ||||
|         if(this.message !== null && this.message.IsEmpty()){ | ||||
|             // Message == null: special case to force empty text
 | ||||
|             return ""; | ||||
|  | @ -41,7 +41,7 @@ export class SubtleButton extends UIElement{ | |||
|                 '</a>' | ||||
|             ]).Render(); | ||||
|         } | ||||
|          | ||||
| 
 | ||||
|         return new Combine([ | ||||
|             '<span class="subtle-button">', | ||||
|             this.image, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue