diff --git a/aqt/deckbrowser.py b/aqt/deckbrowser.py index 9a4bbe2d9..f90b6b060 100644 --- a/aqt/deckbrowser.py +++ b/aqt/deckbrowser.py @@ -86,6 +86,7 @@ class DeckBrowser: if not reuse: self._dueTree = self.mw.col.sched.deckDueTree() self.__renderPage(None) + return self.web.evalWithCallback("window.pageYOffset", self.__renderPage) def __renderPage(self, offset):