mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user