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

Unified Diff: chrome/browser/resources/sync_setup_overlay.js

Issue 10187008: Sync UI: Ensure the close button is shown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « chrome/browser/resources/sync_setup_overlay.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/sync_setup_overlay.js
diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
index a066249bb56338be5710a12a5dccfe0ab76ef866..f0f5adb91d135caeef0de78a6d9b6f792b5d89fc 100644
--- a/chrome/browser/resources/sync_setup_overlay.js
+++ b/chrome/browser/resources/sync_setup_overlay.js
@@ -510,7 +510,9 @@ cr.define('options', function() {
// Hide an existing visible overlay.
var overlay = $('sync-setup-overlay');
- for (var i = 0; i < overlay.children.length; i++)
+
+ // Start at index 1 so the close button is always visible.
+ for (var i = 1; i < overlay.children.length; i++)
Dan Beam 2012/04/23 21:19:55 why not var children = document.querySelectorAl
James Hawkins 2012/04/24 16:16:27 Done.
overlay.children[i].hidden = true;
this.setInputElementsDisabledState_(false);
« no previous file with comments | « chrome/browser/resources/sync_setup_overlay.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698