Skip to content

Commit

Permalink
Remove invalidate back item (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayterDev authored Sep 2, 2022
1 parent 4166754 commit a0ea5c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DuckDuckGo/Browser Tab/Model/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,6 @@ extension Tab: WKNavigationDelegate {
if navigationAction.isTargetingMainFrame, navigationAction.navigationType != .backForward {
if let newRequest = referrerTrimming.trimReferrer(forNavigation: navigationAction,
originUrl: webView.url ?? navigationAction.sourceFrame.webView?.url) {
self.invalidateBackItemIfNeeded(for: navigationAction)
defer {
webView.load(newRequest)
}
Expand Down

0 comments on commit a0ea5c1

Please sign in to comment.