Rename options.innerHTML to options.html
This commit is contained in:
parent
46a18ad348
commit
15718ec58c
@ -11,8 +11,8 @@ L.DivIcon = L.Icon.extend({
|
|||||||
|
|
||||||
createIcon: function () {
|
createIcon: function () {
|
||||||
var div = document.createElement('div');
|
var div = document.createElement('div');
|
||||||
if (this.options.innerHTML) {
|
if (this.options.html) {
|
||||||
div.innerHTML = this.options.innerHTML;
|
div.innerHTML = this.options.html;
|
||||||
}
|
}
|
||||||
this._setIconStyles(div, 'icon');
|
this._setIconStyles(div, 'icon');
|
||||||
return div;
|
return div;
|
||||||
|
Loading…
Reference in New Issue
Block a user