From 6c43521eea5fdb01a9a73cd1139bab95ae4f48ce Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Mon, 17 Apr 2023 15:26:34 +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 239efae..b67354b 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); };