Skip to content
This repository was archived by the owner on Aug 14, 2021. It is now read-only.

Commit 88b4afd

Browse files
committed
Merge pull request #76 from a-sassermann/master
entry data was attached to wrong dom element
2 parents 517530f + f579088 commit 88b4afd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.ui-contextmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ if ( uiVersion.major < 2 && uiVersion.minor < 11 ) {
384384
$parentLi.addClass("ui-state-disabled");
385385
}
386386
if ($.isPlainObject(entry.data)) {
387-
$a.data(entry.data);
387+
$parentLi.data(entry.data);
388388
}
389389
}
390390
},

jquery.ui-contextmenu.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)