fix __renderPage() being called twice

This commit is contained in:
Damien Elmes 2019-06-01 16:35:19 +10:00
parent ef10d76edb
commit 1a6de042df

View File

@ -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):