We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My firefox (17.0) raises an error wehn i click on the item named "watch". The following code demonstrates this behaviour:
$.contextMenu({ selector: '.context-menu-one', callback: function(key, options) { var m = "clicked: " + key; window.console && console.log(m) || alert(m); }, items: { "watch": {name: "Edit", icon: "edit"} } });
The text was updated successfully, but these errors were encountered:
woha, that's… interesting. I'll look into it. Fiddle
Sorry, something went wrong.
I've fixed this locally. There won't be a new version released until christmas, I think.
In the mean time you can patch this yourself, replace Line 743 with the following:
if ($.isFunction(root.callbacks[key]) && Object.prototype.hasOwnProperty.call(root.callbacks, key)) {
Thank you! That was really quick!
Fixing Issue #93 - key "watch" might translate to Object.prototype.wa…
fa4e281
…tch in callbacks map
No branches or pull requests
My firefox (17.0) raises an error wehn i click on the item named "watch". The following code demonstrates this behaviour:
The text was updated successfully, but these errors were encountered: