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

Unified Diff: chrome/browser/resources/settings/search_settings.js

Issue 2518233004: MD Settings: Move settings-advanced-page into settings-basic-page (Closed)
Patch Set: rebase Created 4 years 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
Index: chrome/browser/resources/settings/search_settings.js
diff --git a/chrome/browser/resources/settings/search_settings.js b/chrome/browser/resources/settings/search_settings.js
index d349f9223bb38bf6302bfd59134b8418264073f9..942d436d48427d0a976d6b2c9c8fad137f12761a 100644
--- a/chrome/browser/resources/settings/search_settings.js
+++ b/chrome/browser/resources/settings/search_settings.js
@@ -362,8 +362,8 @@ cr.define('settings', function() {
* @private
*/
setSectionsVisibility_: function(visible) {
- var sections = Polymer.dom(
- this.node.root).querySelectorAll('settings-section');
+ var sections = this.node.querySelectorAll('settings-section');
+
for (var i = 0; i < sections.length; i++)
sections[i].hiddenBySearch = !visible;
},

Powered by Google App Engine
This is Rietveld 408576698