From c64349dc6bd192f83bc46c6f46dbe42ab059a20c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 12 Dec 2018 10:27:37 +0530 Subject: [PATCH] ... --- src/pyj/viewer-main.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/viewer-main.pyj b/src/pyj/viewer-main.pyj index 74585a976a..3773515275 100644 --- a/src/pyj/viewer-main.pyj +++ b/src/pyj/viewer-main.pyj @@ -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()