mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
57a4f1c91d
commit
c64349dc6b
@ -97,7 +97,7 @@ def get_mathjax_files_stage2(proceed):
|
|||||||
return
|
return
|
||||||
for filename in get_mathjax_files_stage2.files_to_get:
|
for filename in get_mathjax_files_stage2.files_to_get:
|
||||||
xhr = ajax(f'mathjax/{filename}', mathjax_file_received.bind(None, filename, proceed), ok_code=0)
|
xhr = ajax(f'mathjax/{filename}', mathjax_file_received.bind(None, filename, proceed), ok_code=0)
|
||||||
xhr.responseType = 'blob' if filename.endswith('.woff') else 'text'
|
xhr.responseType = 'blob'
|
||||||
xhr.send()
|
xhr.send()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user