From 57b678a9392675071e2433fd8745d335420fa5a9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 17 Feb 2020 08:38:59 +1000 Subject: [PATCH] put head text after css/js imports so it can override them as discussed in PR #438 --- qt/aqt/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index 52ff48026..c31d1da4b 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -379,7 +379,7 @@ div[contenteditable="true"]:focus { from aqt import mw - head = mw.baseHTML() + web_content.head + csstxt + jstxt + head = mw.baseHTML() + csstxt + jstxt + web_content.head body_class = theme_manager.body_class()