We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e744cc8 + c999f49 commit edef90dCopy full SHA for edef90d
src/jquery.contextMenu.js
@@ -253,7 +253,7 @@ var // currently active contextMenu trigger
253
if (!e.data.items || $.isEmptyObject(e.data.items)) {
254
// Note: jQuery captures and ignores errors from event handlers
255
if (window.console) {
256
- (console.error || console.log)("No items specified to show in contextMenu");
+ (console.error || console.log).call(console, "No items specified to show in contextMenu");
257
}
258
259
throw new Error('No Items specified');
0 commit comments