Skip to content

Commit 90b1fbc

Browse files
committed
Minor code optimization in pat-autosubmit.
1 parent 035bd76 commit 90b1fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/auto-submit/auto-submit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default Base.extend({
9595
}
9696

9797
function trigger_event(ev) {
98-
if ($(ev.target).closest(".pat-autosubmit")[0] !== this) {
98+
if (ev.target.closest(".pat-autosubmit") !== this) {
9999
return;
100100
}
101101
ev.target.dispatchEvent(events.generic_event("input-change-delayed"));

0 commit comments

Comments
 (0)