diff --git a/js/gmap.js b/js/gmap.js index 304afec9c9a2468664a5c0fc6df82681f99415dd..bc53df9e618ad3d762c294a930cc4d856cd62440 100755 --- a/js/gmap.js +++ b/js/gmap.js @@ -38,7 +38,6 @@ Drupal.gmap = new function() { this.setup = function() { var obj = this; - var hls; var initcallback = function(mapid) { return (function() { @@ -72,8 +71,7 @@ Drupal.gmap = new function() { if (_handlers[control]) { for (var i=0; i<_handlers[control].length; i++) { - hls = {}; - _handlers[control][i].call(_maps[mapid], obj, hls); + _handlers[control][i].call(_maps[mapid], obj); } } else {