Skip to content

Commit

Permalink
Stupid typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
arantius committed Apr 29, 2011
1 parent ab60d94 commit cb28ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/menucommander.js
Expand Up @@ -3,7 +3,7 @@ var GM_MenuCommander = {};
GM_MenuCommander.createMenuItem = function(command) {
var menuItem = document.createElement("menuitem");
menuItem.setAttribute("label", command.name);
if ('function' == typeof commandFunc) {
if ('function' == typeof command.commandFunc) {
menuItem.addEventListener("command", command.commandFunc, true);
}

Expand Down

0 comments on commit cb28ac6

Please sign in to comment.