mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
7d079aaea5
commit
0009208119
@ -430,10 +430,6 @@ def point(cfi, doc): # {{{
|
||||
|
||||
def scroll_to(cfi, callback, doc): # {{{
|
||||
doc = doc or window.doc
|
||||
# TODO: Port MathJax support
|
||||
if window.mathjax and window.mathjax.math_present and not window.mathjax.math_loaded:
|
||||
window.mathjax.pending_cfi = v'[cfi, callback]'
|
||||
return
|
||||
point_ = point(cfi, doc)
|
||||
if not point_:
|
||||
print("No point found for cfi: " + cfi)
|
||||
|
Loading…
x
Reference in New Issue
Block a user