Skip to content

Commit 4400416

Browse files
authored
Merge pull request #625 from swisnl/issue-621-typo-documentation
Fix typo in documentation which breaks the callback demo.
2 parents 82bf9d1 + 6cd3c15 commit 4400416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/demo/callback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $(function(){
2121
$.contextMenu({
2222
selector: '.context-menu-one',
2323
callback: function(itemKey, opt, rootMenu, originalEvent) {
24-
var m = "global: " + key;
24+
var m = "global: " + itemKey;
2525
window.console && console.log(m) || alert(m);
2626
},
2727
items: {

0 commit comments

Comments
 (0)