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 {