Fix build error.

This commit is contained in:
Brent Simmons committed 2025-11-02 10:30:28 -08:00
1 parent 5ca1c2640c
commit fb35e2857c
1 file changed
+1 -1
@@ -307,7 +307,7 @@ private extension DetailWebViewController {
}
func fetchScrollInfo(_ completion: @escaping (ScrollInfo?) -> Void) {
var javascriptString = "var x = {contentHeight: document.body.scrollHeight, offsetY: document.body.scrollTop}; x"
let javascriptString = "var x = {contentHeight: document.body.scrollHeight, offsetY: document.body.scrollTop}; x"
webView.evaluateJavaScript(javascriptString) { (info, error) in
guard let info = info as? [String: Any] else {