Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: chrome/browser/resources/options2/options_page.js

Issue 9562050: Fix NOT_FOUND_ERR when opening sync dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/options_page.js
diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js
index b317050b733aa465e9152565db70fd00898661bb..3487292db1800859cf838f22286f70f5e5f6562b 100644
--- a/chrome/browser/resources/options2/options_page.js
+++ b/chrome/browser/resources/options2/options_page.js
@@ -921,7 +921,7 @@ cr.define('options', function() {
if (this.isOverlay) {
var content = this.pageDiv.querySelector('.content-area');
- this.pageDiv.insertBefore(bannerDiv, content);
+ content.parentElement.insertBefore(bannerDiv, content);
} else {
bannerDiv.classList.add('main-page-banner');
var header = this.pageDiv.querySelector('header');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698