Need to preventDefault on href='#' links
Fixes https://trac.openstreetmap.org/ticket/4947
This commit is contained in:
parent
70190cf363
commit
c919340c11
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ function initializeBrowse(map, params) {
|
|||
getData();
|
||||
}
|
||||
|
||||
function toggleAreas() {
|
||||
function toggleAreas(e) {
|
||||
e.preventDefault();
|
||||
|
||||
if (areasHidden) {
|
||||
$("#browse_hide_areas_box").html(I18n.t('browse.start_rjs.hide_areas'));
|
||||
areasHidden = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue