Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: desktop-options.js

Issue 29587717: Issue 5926 - Fix missing string errors (Closed)
Patch Set: Created Oct. 24, 2017, 6:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
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: desktop-options.js
===================================================================
--- a/desktop-options.js
+++ b/desktop-options.js
@@ -508,13 +508,7 @@
url: element.getAttribute("url")
};
- let prefix = element.getAttribute("prefixes");
- if (prefix)
- {
- prefix = prefix.replace(/\W/g, "_");
- subscription.title = getMessage("options_language_" + prefix);
- }
- else
+ if (subscription.recommended != "ads")
ire 2017/10/25 09:12:52 NIT/Suggestion: I think just checking that the typ
saroyanm 2017/10/25 13:42:32 Thanks for bringing this up, yes and no: Currently
saroyanm 2017/10/25 13:55:18 Here is also the relevant discussion where we deci
ire 2017/10/26 09:22:34 Thanks very much for the explanation. I understand
{
type = type.replace(/\W/g, "_");
subscription.title = getMessage("common_feature_" +
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld