Skip to content

Commit

Permalink
if should use {}
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelWest22 authored Dec 11, 2024
1 parent 3834d26 commit a58230e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -4929,7 +4929,9 @@ var htmx = (function() {
return
}
if (extensionName.indexOf('this-only:') === 0) {
if (isParentScan) return
if (isParentScan) {
return
}
extensionName = extensionName.slice(10)
}
if (extensionsToIgnore.indexOf(extensionName) < 0) {
Expand Down

0 comments on commit a58230e

Please sign in to comment.