Skip to content

Commit

Permalink
fixing unused variables - #100
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Dec 29, 2012
1 parent 551772c commit 3999af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ $.contextMenu is published under the [MIT license](http://www.opensource.org/lic
* adding [DOM Element bound context menus](http://medialize.github.com/jQuery-contextMenu/demo/on-dom-element.html) - ([Issue 88](https://github.com/medialize/jQuery-contextMenu/issues/88))
* fixing key "watch" might translate to Object.prototype.watch in callbacks map - ([Issue 93](https://github.com/medialize/jQuery-contextMenu/issues/93))
* fixing menu and submenu width calculation - ([Issue 18](https://github.com/medialize/jQuery-contextMenu/issues/18))
* fixing unused variables - ([Issue 100](https://github.com/medialize/jQuery-contextMenu/issues/100))

### 1.5.25 ###

Expand Down
4 changes: 1 addition & 3 deletions src/jquery.contextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,7 @@ var // currently active contextMenu trigger
e.stopPropagation();
},
key: function(e) {
var opt = $currentTrigger.data('contextMenu') || {},
$children = opt.$menu.children(),
$round;
var opt = $currentTrigger.data('contextMenu') || {};

switch (e.keyCode) {
case 9:
Expand Down

0 comments on commit 3999af7

Please sign in to comment.