From daaea672943ca4c24b20d58e25455514b449f43a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 9 Mar 2015 17:33:35 +1100 Subject: [PATCH] Remove final unnecessary use of Iterator. --- pentadactyl/content/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pentadactyl/content/config.js b/pentadactyl/content/config.js index 2d050b5c..a9bf3dd0 100644 --- a/pentadactyl/content/config.js +++ b/pentadactyl/content/config.js @@ -142,7 +142,7 @@ var Config = Module("config", ConfigBase, { let menu = document.getElementById("viewSidebarMenu"); - for (let [, panel] in Iterator(menu.childNodes)) + for (let panel of menu.childNodes) if (compare(panel.getAttribute("label"), args[0])) { let elem = document.getElementById(panel.observes); if (elem)