Quick fixes

This commit is contained in:
pietervdvn 2021-02-24 22:01:21 +01:00
parent bd7cba420c
commit 29a0a3ee81
5 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -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);
}

View file

@ -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();

View file

@ -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 = {

View file

@ -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();