mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
8ef1ef8ede
commit
8b4d27a75b
@ -153,7 +153,7 @@ from its bases, documented below. A typical basic USBMS based driver looks like
|
||||
:members:
|
||||
:member-order: bysource
|
||||
|
||||
User Interface actions
|
||||
User interface actions
|
||||
--------------------------
|
||||
|
||||
If you are adding your own plugin in a ZIP file, you should subclass both InterfaceActionBase and InterfaceAction. The
|
||||
|
@ -50,6 +50,8 @@ def apply_mathjax(mathjax_files, link_uid, proceed):
|
||||
if not standalone_proceed_data.event_listender_added:
|
||||
standalone_proceed_data.event_listender_added = True
|
||||
document.documentElement.addEventListener("calibre-mathjax-typeset-done", standalone_proceed)
|
||||
if standalone_proceed_data.proceed:
|
||||
print('MathJax apply called while a previous apply is still running')
|
||||
standalone_proceed_data.link_uid = link_uid
|
||||
standalone_proceed_data.proceed = proceed
|
||||
load_mathjax(f'{runtime.FAKE_PROTOCOL}://{runtime.SANDBOX_HOST}/mathjax/startup.js')
|
||||
|
Loading…
x
Reference in New Issue
Block a user