forked from MapComplete/MapComplete
		
	Quick fixes
This commit is contained in:
		
							parent
							
								
									bd7cba420c
								
							
						
					
					
						commit
						29a0a3ee81
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -394,7 +394,7 @@ export class InitUiElements { | |||
|         new ShowDataLayer(source.features, State.state.leafletMap, | ||||
|             State.state.layoutToUse); | ||||
| 
 | ||||
|         new SelectedFeatureHandler(Hash.hash, State.state.selectedElement, source); | ||||
|       // TOO reenable  new SelectedFeatureHandler(Hash.hash, State.state.selectedElement, source);
 | ||||
| 
 | ||||
| 
 | ||||
|     } | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ export default class SelectedFeatureHandler { | |||
|         hash.addCallback(h => { | ||||
|             console.log("Hash is now ", h) | ||||
|             if (h === undefined || h === "") { | ||||
|                 console.log("Deselecting feature...") | ||||
|                 console.error("Deselecting feature...") | ||||
|                 selectedFeature.setData(undefined); | ||||
|             }else{ | ||||
|                 self.selectFeature(); | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import { Utils } from "../Utils"; | |||
| 
 | ||||
| export default class Constants { | ||||
|      | ||||
|     public static vNumber = "0.5.1"; | ||||
|     public static vNumber = "0.5.2a"; | ||||
| 
 | ||||
|     // The user journey states thresholds when a new feature gets unlocked
 | ||||
|     public static userJourney = { | ||||
|  |  | |||
|  | @ -314,7 +314,7 @@ export default class OpeningHoursVisualization extends UIElement { | |||
| 
 | ||||
| 
 | ||||
|         return new Combine([ | ||||
|             "<table class='ohviz' style='width:100%;'>", | ||||
|             "<table class='ohviz' style='width:100%; word-break: normal;'>", | ||||
|             rows.map(el => "<tr>" + el.Render() + "</tr>").join(""), | ||||
|             "</table>" | ||||
|         ]).SetClass("ohviz-container").Render(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue