X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7d92ec704786c2d887e1946f25746d6d70ee7ea8..eebe1f1d3ed885e94725c07d24e0483f603f03da:/app/assets/javascripts/index/key.js diff --git a/app/assets/javascripts/index/key.js b/app/assets/javascripts/index/key.js index 9722cf4cf..5592a2960 100644 --- a/app/assets/javascripts/index/key.js +++ b/app/assets/javascripts/index/key.js @@ -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 () {