From 29e42137c99ad5948cb3bcaf1865af9c7f28f627 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Fri, 29 Jul 2011 14:28:29 -0500 Subject: [PATCH] Fix autopan on chatbaloons - can be off now :) --- web/js/chatballoon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/chatballoon.js b/web/js/chatballoon.js index f52966f3..250c27a9 100644 --- a/web/js/chatballoon.js +++ b/web/js/chatballoon.js @@ -26,7 +26,7 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) { var popup = me.chatpopups[message.name]; if (!popup) { me.chatpopups[message.name] = popup = { - layer: new L.Popup({autopan: false, closeButton: false}), + layer: new L.Popup({autoPan: configuration.focuschatballoons, closeButton: false}), content: $('
').addClass('balloonmessages')[0] }; popup.layer.setContent(popup.content);