Skip to content

Commit edef90d

Browse files
committed
Merge branch 'Frogomeli-patch-1'
closes swisnl#221
2 parents e744cc8 + c999f49 commit edef90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.contextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ var // currently active contextMenu trigger
253253
if (!e.data.items || $.isEmptyObject(e.data.items)) {
254254
// Note: jQuery captures and ignores errors from event handlers
255255
if (window.console) {
256-
(console.error || console.log)("No items specified to show in contextMenu");
256+
(console.error || console.log).call(console, "No items specified to show in contextMenu");
257257
}
258258

259259
throw new Error('No Items specified');

0 commit comments

Comments
 (0)