Skip to content

Commit 3999af7

Browse files
committed
fixing unused variables - swisnl#100
1 parent 551772c commit 3999af7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ $.contextMenu is published under the [MIT license](http://www.opensource.org/lic
109109
* 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))
110110
* fixing key "watch" might translate to Object.prototype.watch in callbacks map - ([Issue 93](https://github.com/medialize/jQuery-contextMenu/issues/93))
111111
* fixing menu and submenu width calculation - ([Issue 18](https://github.com/medialize/jQuery-contextMenu/issues/18))
112+
* fixing unused variables - ([Issue 100](https://github.com/medialize/jQuery-contextMenu/issues/100))
112113

113114
### 1.5.25 ###
114115

src/jquery.contextMenu.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,7 @@ var // currently active contextMenu trigger
412412
e.stopPropagation();
413413
},
414414
key: function(e) {
415-
var opt = $currentTrigger.data('contextMenu') || {},
416-
$children = opt.$menu.children(),
417-
$round;
415+
var opt = $currentTrigger.data('contextMenu') || {};
418416

419417
switch (e.keyCode) {
420418
case 9:

0 commit comments

Comments
 (0)