Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Apr 12, 2024
1 parent 4726073 commit 92c8032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/Tab/View/WebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class WebView: WKWebView {
super.init(frame: frame, configuration: configuration)

// suppress Tracking Area events while loading
let suppressor = suppressor=trackingAreas.first?.trackingAreaSuppressor
let suppressor = trackingAreas.first?.trackingAreaSuppressor
isLoadingObserver = self.observe(\.isLoading, options: [.new]) { [weak suppressor] _, c in
suppressor?.isSuppressingMouseEvents = c.newValue /* isLoading */ ?? false
}
Expand Down

0 comments on commit 92c8032

Please sign in to comment.