Merge pull request #6794 from netchampfaris/weird-event-emitter-fix

fix: Make event emitter from blank object
This commit is contained in:
Suraj Shetty 2019-01-21 16:01:51 +05:30 committed by GitHub
commit 818a37fa08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ frappe.provide('frappe.utils');
*/
const EventEmitterMixin = {
init() {
this.jq = jQuery(this);
this.jq = jQuery({});
},
trigger(evt, data) {