Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Stupid typo.

Fixes #1348
  • Loading branch information...
commit cb28ac679cc86c178e80a8ac18629ee7eeb2799d 1 parent ab60d94
arantius arantius authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  content/menucommander.js
2  content/menucommander.js
@@ -3,7 +3,7 @@ var GM_MenuCommander = {};
3 3 GM_MenuCommander.createMenuItem = function(command) {
4 4 var menuItem = document.createElement("menuitem");
5 5 menuItem.setAttribute("label", command.name);
6   - if ('function' == typeof commandFunc) {
  6 + if ('function' == typeof command.commandFunc) {
7 7 menuItem.addEventListener("command", command.commandFunc, true);
8 8 }
9 9

0 comments on commit cb28ac6

Please sign in to comment.
Something went wrong with that request. Please try again.