Skip to content

Commit

Permalink
Limit force reloading in Tab.reload()
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Mar 8, 2024
1 parent 6a64fdf commit beb23df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Tab/Model/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,8 @@ protocol NewWindowPolicyDecisionMaker {
return nil
}

self.content = content.forceReload()
if webView.url == nil, content.isUrl {
self.content = content.forceReload()
// load from cache or interactionStateData when called by lazy loader
return reloadIfNeeded(shouldLoadInBackground: true)
} else {
Expand Down

0 comments on commit beb23df

Please sign in to comment.