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

Unified Diff: ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js

Issue 2528803002: MD Settings: Internet: Add/fix remaining policy items (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: ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
diff --git a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
index d3ca5f4dcaaf0a2b67f9585815db13e9cb744cda..ac1e7792153cbd40a49ec97a812c4fff4cbc613b 100644
--- a/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
+++ b/ui/webui/resources/cr_elements/policy/cr_policy_network_indicator.js
@@ -77,7 +77,7 @@ Polymer({
* @private
*/
getTooltip_: function(type, property, recommended) {
- if (type == CrPolicyIndicatorType.NONE || typeof property != 'object')
+ if (type == CrPolicyIndicatorType.NONE)
return '';
if (type == CrPolicyIndicatorType.RECOMMENDED) {
var value = property.Active;

Powered by Google App Engine
This is Rietveld 408576698