JS/Mapper

* generally allow zone links on a map on the zone detail page
 * manually disable it for the main map
This commit is contained in:
Sarjuuk
2024-06-27 23:45:55 +02:00
parent ae54e5e213
commit 33d2192431
2 changed files with 6 additions and 4 deletions

View File

@@ -19327,9 +19327,11 @@ function Mapper(opt, noScroll) {
this.buttons = (this.buttons == null ? true : this.buttons);
this.zoneLink = (this.zoneLink == null ? true : this.zoneLink);
if(location.href.indexOf('zone=') != -1) {
this.zoneLink = false;
}
/* aowow - disabled
* if(location.href.indexOf('zone=') != -1) {
* this.zoneLink = false;
* }
*/
this.zoom = (this.zoom == null ? 0 : this.zoom);
this.zone = (this.zone == null ? 0 : this.zone);