[Menu Applet] Fixed JS warning #1241

Merged
merged 1 commit into from Oct 3, 2012
@@ -1296,7 +1296,7 @@ MyApplet.prototype = {
}
}
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
- subdir = iter.get_directory();
+ let subdir = iter.get_directory();
this.applicationsByCategory[subdir.get_menu_id()] = new Array();
this._loadCategory(subdir, top_dir);
}