]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/key.js
Layers work
[rails.git] / app / assets / javascripts / index / key.js
index 9722cf4cf0511f684c95ff7b651a4d06393cf9dd..5592a296022ff10fed4f762ba968a6034d18a6f2 100644 (file)
@@ -6,7 +6,7 @@ $(document).ready(function () {
         title = $(this).text();
 
     function updateMapKey() {
-      var mapLayer = getMapBaseLayer().keyid,
+      var mapLayer = getMapBaseLayerId(),
           mapZoom = map.getZoom();
 
       $(".mapkey-table-entry").each(function () {