merge popup updateContent fix by msaspence
This commit is contained in:
commit
e57bcd70a8
@ -94,7 +94,9 @@ L.Popup = L.Class.extend({
|
||||
|
||||
_updateContent: function() {
|
||||
//TODO accept DOM nodes along with HTML strings
|
||||
this._contentNode.innerHTML = this._content;
|
||||
if (this._content) {
|
||||
this._contentNode.innerHTML = this._content;
|
||||
}
|
||||
},
|
||||
|
||||
_updateLayout: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user