Skip to content

Commit

Permalink
Disable link prefetching to match the new behavior on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayohms committed Dec 17, 2024
1 parent 7155a66 commit e21ad98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/assets/js/turbo.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@
TurboSession.pageInvalidated()
}

linkPrefetchingIsEnabledForLocation(location) {
return false
}

// Private

afterNextRepaint(callback) {
Expand Down

0 comments on commit e21ad98

Please sign in to comment.