diff --git a/Source/Turbo/Session/Session.swift b/Source/Turbo/Session/Session.swift index fabcdb4..71db207 100644 --- a/Source/Turbo/Session/Session.swift +++ b/Source/Turbo/Session/Session.swift @@ -259,9 +259,9 @@ extension Session: VisitableDelegate { // Navigating forward - complete navigation early. if visitable === currentVisit.visitable { - let currentVisitCompletedWithResponse = currentVisit.options.response?.responseHTML != nil && currentVisit.state == .completed + let currentVisitHasResponse = currentVisit.options.response?.responseHTML != nil - if currentVisit.state == .started || currentVisitCompletedWithResponse { + if currentVisit.state == .started || (currentVisitHasResponse && currentVisit.state == .completed) { completeNavigationForCurrentVisit() return }