diff --git a/Conan/maps/maps.js b/Conan/maps/maps.js index 41ba012b..67fe7ee3 100644 --- a/Conan/maps/maps.js +++ b/Conan/maps/maps.js @@ -89,7 +89,7 @@ Maps = mergeObject(Maps, { for (var j=0; j < rules[i].coordinates.length; j++) { var coo = rules[i].coordinates[j]; - aide += "" + (i+1) + ""; + aide += "" + (i+1) + ""; } } @@ -98,6 +98,9 @@ Maps = mergeObject(Maps, { return aide; }, + _scrollIntoView: function(number) { + $("*.map-help-rule-title[data-num='" + number + "']").parent()[0].scrollIntoView({ behavior: "smooth" }); + }, _legendText: function(map) { var aide = "";