Index: chrome/browser/resources/options2/options_page.js |
=================================================================== |
--- chrome/browser/resources/options2/options_page.js (revision 149044) |
+++ chrome/browser/resources/options2/options_page.js (working copy) |
@@ -779,9 +779,11 @@ |
if (visible) { |
uber.invokeMethodOnParent('beginInterceptingEvents'); |
this.pageDiv.removeAttribute('aria-hidden'); |
- this.parentPage.pageDiv.setAttribute('aria-hidden', true); |
+ if (this.parentPage) |
+ this.parentPage.pageDiv.setAttribute('aria-hidden', true); |
} else { |
- this.parentPage.pageDiv.removeAttribute('aria-hidden'); |
+ if (this.parentPage) |
+ this.parentPage.pageDiv.removeAttribute('aria-hidden'); |
} |
if (container.hidden != visible) { |