Bug 893994 - avoid warnings for empty strings passed to document.getElementById when there's no mainView, r=mconley

This commit is contained in:
Gijs Kruitbosch 2013-07-18 09:58:21 +02:00
parent f4958cef5c
commit 025119ed3e

View File

@ -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>