From e7b52dd2eb19fe32c715438b9695de7d9446faca Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Mon, 18 Feb 2013 11:08:38 +0100 Subject: [PATCH] fix position not being saved on zoom --- code/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/boot.js b/code/boot.js index 7a7c7c6f..e9448750 100644 --- a/code/boot.js +++ b/code/boot.js @@ -95,7 +95,7 @@ window.setupMap = function() { // listen for changes and store them in cookies map.on('moveend', window.storeMapPosition); map.on('zoomend', function() { - window.storeMapPosition; + window.storeMapPosition(); // remove all resonators if zoom out to < RESONATOR_DISPLAY_ZOOM_LEVEL if(isResonatorsShow()) return;