Browse Source

Fix dropdown menu (mobile/small screen) bis

Aubort Jean-Baptiste 6 years ago
parent
commit
fc50a4edba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      site/script/main.js

+ 1 - 1
site/script/main.js

@@ -204,7 +204,7 @@ function createMenu(){
     select.change(function() {
         var key = this.options[this.selectedIndex].value.split('#')[1];
         populateData(key, hackerspaces[key]);
-        map.setCenter(getPosition(data[key]), 13);
+        map.setCenter(getPosition(hackerspaces[key]), 13);
     });
 }