diff --git a/chrome/content/quickfolders.js b/chrome/content/quickfolders.js index e7bd721e0..10282b188 100644 --- a/chrome/content/quickfolders.js +++ b/chrome/content/quickfolders.js @@ -1159,7 +1159,11 @@ var QuickFolders = { if (psib.label) util.logDebugOptional("dnd", "check next sibling + " + psib.nodeName + " '" + psib.label +"' ..."); if (psib.nodeName === 'menu' && popupStart !== psib) { if (psib.label) util.logDebugOptional("dnd", "Hiding previous popup menu."); - psib.children.forEach(x => { if (x.tagName=='menupopup') x.hidePopup(); }); + // HTMLCollection + for (let x of psib.children) { + if (x.tagName=='menupopup') x.hidePopup(); + } + // psib.children.forEach(x => { if (x.tagName=='menupopup') x.hidePopup(); }); } psib = psib.nextSibling; } @@ -1168,7 +1172,10 @@ var QuickFolders = { if (psib.label) util.logDebugOptional("dnd", "check previous sibling + " + psib.nodeName + " '" + psib.label +"' ..."); if (psib.nodeName === 'menu' && popupStart !== psib) { if (psib.label) util.logDebugOptional("dnd", "Hiding previous popup menu."); - psib.children.forEach(x => { if (x.tagName=='menupopup') x.hidePopup(); }); + for (let x of psib.children) { + if (x.tagName=='menupopup') x.hidePopup(); + } + // psib.children.forEach(x => { if (x.tagName=='menupopup') x.hidePopup(); }); } psib = psib.previousSibling; } diff --git a/manifest.json b/manifest.json index 33068bd09..acad6b40a 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "manifest_version" : 2, "name" : "QuickFolders", "description" : "Bookmark your favorite mail folders in Thunderbird.", - "version" : "5.0pre80", + "version" : "5.0pre82", "developer" : { "name" : "Axel Grude", "url" : "http://quickfolders.org/index.html" diff --git a/revision.txt b/revision.txt index 2f38214ba..2900e0d06 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -79 +82