Skip to content

Commit

Permalink
lint: Remove double negation
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrubisch committed Jun 27, 2024
1 parent 910976b commit a998ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/elements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const restorePlaceholders = e => {
// if the TF request has been promoted to an advance action
// (data-turbo-action="advance"), this callback will fire inadvertently
// but the whole page will not be exchanged as in a regular TD visit
if (!!window.Futurism.requestedTurboFrame) {
if (window.Futurism.requestedTurboFrame) {
delete window.Futurism.requestedTurboFrame
return
}
Expand Down

0 comments on commit a998ebf

Please sign in to comment.