mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 879317 - Customization target should support insertItem, r=jaws
This commit is contained in:
parent
9e83ecff03
commit
71e83db00e
@ -99,7 +99,9 @@
|
||||
if (id)
|
||||
this._customizationTarget = document.getElementById(id);
|
||||
|
||||
if (!this._customizationTarget)
|
||||
if (this._customizationTarget)
|
||||
this._customizationTarget.insertItem = this.insertItem.bind(this);
|
||||
else
|
||||
this._customizationTarget = this;
|
||||
|
||||
return this._customizationTarget;
|
||||
|
Loading…
Reference in New Issue
Block a user