mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
fix multiple selector for find() method. close #735
This commit is contained in:
@@ -1569,7 +1569,7 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
|
||||
if (this.hasName(sel.slice(1))) {
|
||||
return true;
|
||||
}
|
||||
} else if (this.className === selector || this.nodeType === selector) {
|
||||
} else if (this.className === sel || this.nodeType === sel) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user