File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ $.contextMenu is published under the [MIT license](http://www.opensource.org/lic
103
103
104
104
## Changelog ##
105
105
106
+ * adding [ DOM Element bound context menus] ( http://medialize.github.com/jQuery-contextMenu/demo/on-dom-element.html ) - ([ Issue 88] ( https://github.com/medialize/jQuery-contextMenu/issues/88 ) )
107
+ * fixing key "watch" might translate to Object.prototype.watch in callbacks map - ([ Issue 93] ( https://github.com/medialize/jQuery-contextMenu/issues/93 ) )
108
+
106
109
### 1.5.25 ###
107
110
108
111
* upgrading to jQuery 1.8.2 ([ Issue 78] ( https://github.com/medialize/jQuery-contextMenu/issues/78 ) )
Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ var // currently active contextMenu trigger
722
722
e . preventDefault ( ) ;
723
723
e . stopImmediatePropagation ( ) ;
724
724
725
- if ( $ . isFunction ( root . callbacks [ key ] ) ) {
725
+ if ( $ . isFunction ( root . callbacks [ key ] ) && Object . prototype . hasOwnProperty . call ( root . callbacks , key ) ) {
726
726
// item-specific callback
727
727
callback = root . callbacks [ key ] ;
728
728
} else if ( $ . isFunction ( root . callback ) ) {
You can’t perform that action at this time.
0 commit comments