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

Unified Diff: chrome/browser/resources/settings/internet_page/network_summary_item.js

Issue 1403773002: Fix VPN connected logic in internet settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make closure happy Created 5 years, 2 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/settings/internet_page/network_summary.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/internet_page/network_summary_item.js
diff --git a/chrome/browser/resources/settings/internet_page/network_summary_item.js b/chrome/browser/resources/settings/internet_page/network_summary_item.js
index ccb10ea77d7c566720755fcfeee844752d233c76..92cb590f1dd0f6174070d6ca3ef1e4a7b6cd9e5f 100644
--- a/chrome/browser/resources/settings/internet_page/network_summary_item.js
+++ b/chrome/browser/resources/settings/internet_page/network_summary_item.js
@@ -83,7 +83,7 @@ Polymer({
*/
deviceStateChanged_: function() {
this.updateSelectable_();
- if (!this.deviceIsEnabled_(this.deviceState))
+ if (this.expanded && !this.deviceIsEnabled_(this.deviceState))
this.expanded = false;
},
« no previous file with comments | « chrome/browser/resources/settings/internet_page/network_summary.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698