X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0f3856fd1c83e4cd92e34b18e047878505888051..c8e21c409c9bec446f0caa2526d5b07861bb3299:/app/assets/javascripts/index/history.js?ds=sidebyside diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index fe64c2959..7f0fdf848 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -1,4 +1,4 @@ -//= require jquery.simulate +//= require jquery-simulate/jquery.simulate OSM.History = function (map) { var page = {}; @@ -41,13 +41,13 @@ OSM.History = function (map) { function highlightChangeset(id) { var layer = group.getLayer(id); - if ( layer ) layer.setStyle({ fillOpacity: 0.3, color: "#FF6600", weight: 3 }); + if (layer) layer.setStyle({ fillOpacity: 0.3, color: "#FF6600", weight: 3 }); $("#changeset_" + id).addClass("selected"); } function unHighlightChangeset(id) { var layer = group.getLayer(id); - if ( layer ) layer.setStyle({ fillOpacity: 0, color: "#FF9500", weight: 2 }); + if (layer) layer.setStyle({ fillOpacity: 0, color: "#FF9500", weight: 2 }); $("#changeset_" + id).removeClass("selected"); }