mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00: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
f4958cef5c
commit
025119ed3e
@ -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