Browser viewer: Fix body font being forced to sans-serif

This commit is contained in:
Kovid Goyal 2017-11-03 16:49:18 +05:30
parent 24ab86f277
commit 44b1f8fe93
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -155,6 +155,7 @@ class IframeBoss:
self.last_cfi = None
for name in self.blob_url_map:
window.URL.revokeObjectURL(self.blob_url_map[name])
document.body.style.removeProperty('font-family')
root_data, self.mathjax, self.blob_url_map = finalize_resources(self.book, data.name, data.resource_data)
self.resource_urls = unserialize_html(root_data, self.content_loaded)