From 13259845ad7537bc1c1cc0aceb9ea2deb90854a8 Mon Sep 17 00:00:00 2001 From: mourner Date: Wed, 27 Apr 2011 13:52:23 +0300 Subject: [PATCH] fix popup content update, fixes #42 --- src/layer/Popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer/Popup.js b/src/layer/Popup.js index 81fb96b4..834a1e66 100644 --- a/src/layer/Popup.js +++ b/src/layer/Popup.js @@ -19,8 +19,8 @@ L.Popup = L.Class.extend({ this._map = map; if (!this._container) { this._initLayout(); - this._updateContent(); } + this._updateContent(); this._container.style.opacity = '0';