Skip to content

Commit e7dd65f

Browse files
committed
fixed mar10#44
1 parent 8a3b829 commit e7dd65f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module.exports = function (grunt) {
116116
// https://saucelabs.com/docs/javascript-unit-testing-tutorial
117117
//
118118
grunt.registerTask("saucelabs", ["test",
119-
"connect:sauce",
119+
"connect:sauce",
120120
"saucelabs-qunit"]);
121121

122122
grunt.registerTask("travis", ["test"]);

jquery.ui-contextmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@
210210
.unbind("mousedown" + this.eventNamespace)
211211
.unbind("touchstart" + this.eventNamespace)
212212
.unbind("keydown" + this.eventNamespace);
213+
self.currentTarget = null; // issue #44 after hide animation is too late
213214

214215
this._hide(this.$menu, hideOpts, function() {
215216
self._trigger("close");
216-
self.currentTarget = null;
217217
});
218218
},
219219
/** Handle $().contextmenu("option", key, value) calls. */

jquery.ui-contextmenu.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)