mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-22 06:54:42 +00:00
Fix targets undefined
This commit is contained in:
parent
5166ab76c8
commit
f1ff91dbc3
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@
|
|||
*/
|
||||
_handleEvent: function(e, eventType, targetObj) {
|
||||
var target = typeof targetObj === undefined ? this.findTarget(e) : targetObj,
|
||||
targets = this.targets,
|
||||
targets = this.targets || [ ],
|
||||
options = { e: e, target: target, subTargets: targets };
|
||||
|
||||
this.fire('mouse:' + eventType, options);
|
||||
|
|
|
|||
Loading…
Reference in a new issue