This commit is contained in:
Kovid Goyal 2018-12-12 10:27:37 +05:30
parent 57a4f1c91d
commit c64349dc6b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -97,7 +97,7 @@ def get_mathjax_files_stage2(proceed):
return
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.responseType = 'blob' if filename.endswith('.woff') else 'text'
xhr.responseType = 'blob'
xhr.send()