We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52a3b09 + 21ad3e8 commit 7882ba5Copy full SHA for 7882ba5
src/lib/events.js
@@ -53,7 +53,7 @@ var Events = {
53
* events.
54
*/
55
plotObj.emit = function(event, data) {
56
- if(typeof $ !== 'undefined') {
+ if(typeof jQuery !== 'undefined') {
57
$(plotObj).trigger(event, data);
58
}
59
@@ -76,7 +76,7 @@ var Events = {
76
* If Jquery exists run all its handlers for this event and
77
* collect the return value of the LAST handler function
78
79
80
jQueryHandlerValue = $(plotObj).triggerHandler(event, data);
81
82
0 commit comments