fix popup content update, fixes #42

This commit is contained in:
mourner 2011-04-27 13:52:23 +03:00
parent 0d32c913a5
commit 13259845ad

View File

@ -19,8 +19,8 @@ L.Popup = L.Class.extend({
this._map = map; this._map = map;
if (!this._container) { if (!this._container) {
this._initLayout(); this._initLayout();
this._updateContent();
} }
this._updateContent();
this._container.style.opacity = '0'; this._container.style.opacity = '0';