From: Robert Kaiser Date: Fri, 1 May 2015 01:08:41 +0000 (+0200) Subject: make sure to actually update the selected map style in the selector X-Git-Tag: producution~8 X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=commitdiff_plain;h=ace4b369ea87ab3e2e18236b1cb33aa8984330cf make sure to actually update the selected map style in the selector --- diff --git a/js/map.js b/js/map.js index 10e7d46..53b076a 100644 --- a/js/map.js +++ b/js/map.js @@ -175,6 +175,7 @@ function loadPrefs(aEvent) { gPrefs.get("active_map_style", function(aValue) { if (aValue && gMapStyles[aValue]) { gMap.activeMap = aValue; + document.getElementById("mapSelector").value = aValue; } gWaitCounter--; var throwEv = new CustomEvent("prefs-step");