Reset scroll position when article is reset. Issue #1716

This commit is contained in:
Maurice Parker 2020-01-26 13:01:03 -07:00
parent 3dae77aea8
commit bc5a8c3705

View File

@ -65,6 +65,7 @@ class WebViewController: UIViewController {
startArticleExtractor() startArticleExtractor()
} }
if article != oldValue { if article != oldValue {
restoreWindowScrollY = 0
renderPage() renderPage()
} }
} }