Permalink
Browse files

Stupid typo.

Fixes #1348
  • Loading branch information...
1 parent ab60d94 commit cb28ac679cc86c178e80a8ac18629ee7eeb2799d @arantius arantius committed Apr 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/menucommander.js
View
2 content/menucommander.js
@@ -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);
}

0 comments on commit cb28ac6

Please sign in to comment.