1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 16:45:46 +01:00

Remove final unnecessary use of Iterator.

This commit is contained in:
Doug Kearns
2015-03-09 17:33:35 +11:00
parent a67825d450
commit daaea67294

View File

@@ -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)