summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gmap.module2
-rw-r--r--gmap_settings_ui.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gmap.module b/gmap.module
index 2dd36ef..776679d 100644
--- a/gmap.module
+++ b/gmap.module
@@ -83,7 +83,7 @@ function gmap_gmap($op, &$map) {
if (isset($map['behavior']['locpick']) && $map['behavior']['locpick']) {
drupal_add_js($path .'locpick.js');
}
- if (variable_get('gmap_load_zoom_plugin', TRUE) && !$map['behavior']['nomousezoom']) {
+ if (variable_get('gmap_load_zoom_plugin', FALSE) && !$map['behavior']['nomousezoom']) {
drupal_add_js(drupal_get_path('module', 'gmap') .'/thirdparty/mousewheel.js');
}
if (!empty($map['markers']) || !empty($map['lines'])) {
diff --git a/gmap_settings_ui.inc b/gmap_settings_ui.inc
index 5123e0f..80a57e2 100644
--- a/gmap_settings_ui.inc
+++ b/gmap_settings_ui.inc
@@ -38,7 +38,7 @@ function _gmap_admin_settings() {
$form['initialization']['gmap_load_zoom_plugin'] = array(
'#type' => 'checkbox',
'#title' => t('Enable mousewheel zooming'),
- '#default_value' => variable_get('gmap_load_zoom_plugin', TRUE),
+ '#default_value' => variable_get('gmap_load_zoom_plugin', FALSE),
'#description' => t('Enables the mousewheel.js jQuery plugin, which adds the ability to use the mouse wheel to zoom the map.'),
);
if (!file_exists(drupal_get_path('module', 'gmap') .'/thirdparty/mousewheel.js')) {