ToC Editor: Fix a regression that broke choosing split points in some XHTML files

This commit is contained in:
Kovid Goyal 2021-05-21 11:43:46 +05:30
parent cb26ac2e1d
commit b131d9226d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -67,7 +67,7 @@
if (settings.is_dark_theme) { css += dark_css; } if (settings.is_dark_theme) { css += dark_css; }
var style = document.createElement('style'); var style = document.createElement('style');
style.textContent = css; style.textContent = css;
document.body.appendChild(style); document.documentElement.appendChild(style);
} }
apply_body_colors(); apply_body_colors();