1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 12:44:10 +01:00

fix some for..in loops used to iterate over arrays

This commit is contained in:
Doug Kearns
2008-09-10 20:09:23 +00:00
parent ca6048ef05
commit 23ccb9a689
5 changed files with 14 additions and 14 deletions

View File

@@ -93,7 +93,8 @@ liberator.Mail = function () //{{{
{
var completions = [];
var folders = liberator.mail.getFolders();
for (var folder in folders)
for (let folder = 0; folder < folders.length; folder++)
{
completions.push([folders[folder].server.prettyName + ": "
+ folders[folder].name,