From fb9b623aa6885752f502afb40691dac7c0b82f59 Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Mon, 17 Apr 2023 15:26:04 +0200 Subject: [PATCH] bug fix --- www/misc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/misc.js b/www/misc.js index 6bcf4e6..f74f597 100644 --- a/www/misc.js +++ b/www/misc.js @@ -198,8 +198,8 @@ $(document).ready(function() { config['tab']['active'] = Number(parameters['tab']); }; }; - if ( Number(parameters['zomm']) ) { - config['map']['zommDefault'] = Number(parameters['zoom']); + if ( Number(parameters['zoom']) ) { + config['map']['zoomDefault'] = Number(parameters['zoom']); config['map']['zoomFocus'] = Number(parameters['zoom']+3); };