Permalink
Browse files

Merge pull request #1241 from dalcde/cleanup/menu-applet-warning

[Menu Applet] Fixed JS warning
  • Loading branch information...
2 parents 51bbcb4 + e3bf679 commit 5254aadf66165aa6f70c76be786436ef008ab7dd @glebihan glebihan committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
View
2 files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js
@@ -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);
}

0 comments on commit 5254aad

Please sign in to comment.