mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 893994 - avoid warnings for empty strings passed to document.getElementById when there's no mainView, r=mconley
This commit is contained in:
parent
35242a7604
commit
ac7c63a3d7
@ -95,7 +95,7 @@
|
||||
onget="return this._viewStack.getAttribute('viewtype') == 'subview'"/>
|
||||
<property name="_mainViewId" onget="return this.getAttribute('mainViewId');" onset="this.setAttribute('mainViewId', val); return val;"/>
|
||||
<property name="_mainView" readonly="true"
|
||||
onget="return document.getElementById(this._mainViewId);"/>
|
||||
onget="return this._mainViewId ? document.getElementById(this._mainViewId) : null;"/>
|
||||
|
||||
<property name="ignoreMutations">
|
||||
<getter>
|
||||
|
Loading…
Reference in New Issue
Block a user