Skip to content
Snippets Groups Projects
Commit 4149e153 authored by Rebecca White's avatar Rebecca White
Browse files

look in correct js variable for nomousezoom setting

parent 527a0e8c
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ Drupal.gmap.addHandler('gmap',function(elem) { ...@@ -273,7 +273,7 @@ Drupal.gmap.addHandler('gmap',function(elem) {
map.enableDoubleClickZoom(); map.enableDoubleClickZoom();
map.enableContinuousZoom(); map.enableContinuousZoom();
} }
if (!obj.vars.nomousezoom) { if (!obj.vars.behavior.nomousezoom) {
map.enableScrollWheelZoom(); map.enableScrollWheelZoom();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment