From 902cc874586cb1b6bc1d4e20f0d37fc464bfc960 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Sat, 5 Feb 2011 02:59:03 +0100 Subject: [PATCH] Added 'focuschatballoons' to config influenced by Incendia's suggestion. --- configuration.txt | 1 + web/map.js | 1 + 2 files changed, 2 insertions(+) diff --git a/configuration.txt b/configuration.txt index 4d7bd1d2..8459f407 100755 --- a/configuration.txt +++ b/configuration.txt @@ -31,6 +31,7 @@ web: showchatballoons: true showplayerfacesonmap: true showplayerfacesinmenu: true + focuschatballoons: false # The name of the map shown when opening Dynmap's page (must be in menu). defaultmap: defaultmap diff --git a/web/map.js b/web/map.js index 596412a4..68d5ed82 100644 --- a/web/map.js +++ b/web/map.js @@ -323,6 +323,7 @@ DynMap.prototype = { popup.popupTime = now.getTime(); if (!popup.infoWindow) { popup.infoWindow = new google.maps.InfoWindow({ + disableAutoPan: me.options.focuschatballoons || false content: htmlMessage }); } else {