mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
Revert "fix TypeError: channel.execCallbacks[message.id] is not a function"
This reverts commit 331239de05
.
This commit caused the blur event from the editor to fire after the saveNow()
callback had run, which broke the reviewer when returning from editcurrent.
Reverting for now, as the actual error is harmless AFAICT.
This commit is contained in:
parent
4c286fa3f7
commit
a11035b2fa
1 changed files with 1 additions and 2 deletions
|
@ -63,8 +63,7 @@ class AnkiWebPage(QWebEnginePage):
|
|||
return False
|
||||
|
||||
def _onCmd(self, str):
|
||||
from aqt import mw
|
||||
mw.progress.timer(1, lambda: self._onBridgeCmd(str), False)
|
||||
self._onBridgeCmd(str)
|
||||
|
||||
# Main web view
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue