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

Unified Diff: firstRun.js

Issue 29445590: Issue 5255 - Advanced tab (HTML, strings and functionality) (Closed)
Patch Set: Addressed notes from weekly(ish) meeting and small collection fix Created June 14, 2017, 11:58 a.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
Index: firstRun.js
===================================================================
--- a/firstRun.js
+++ b/firstRun.js
@@ -112,31 +112,6 @@
});
}
- function setLinks(id, ...args)
- {
- let element = E(id);
- if (!element)
- {
- return;
- }
-
- let links = element.getElementsByTagName("a");
-
- for (let i = 0; i < links.length; i++)
- {
- if (typeof args[i] == "string")
- {
- links[i].href = args[i];
- links[i].setAttribute("target", "_blank");
- }
- else if (typeof args[i] == "function")
- {
- links[i].href = "javascript:void(0);";
- links[i].addEventListener("click", args[i], false);
- }
- }
- }
-
function openFilters()
{
ext.backgroundPage.sendMessage({type: "app.open", what: "options"});
« no previous file with comments | « common.js ('k') | locale/en-US/new-options.json » ('j') | locale/en-US/new-options.json » ('J')

Powered by Google App Engine
This is Rietveld