fix __renderPage() being called twice
This commit is contained in:
parent
ef10d76edb
commit
1a6de042df
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user