aboutsummaryrefslogtreecommitdiffstats
path: root/vimiumFrontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'vimiumFrontend.js')
-rw-r--r--vimiumFrontend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js
index e72764fe..e3c28371 100644
--- a/vimiumFrontend.js
+++ b/vimiumFrontend.js
@@ -799,8 +799,8 @@ Tween = {
function addCssToPage(css) {
var head = document.getElementsByTagName("head")[0];
if (!head) {
- console.log("Warning: unable to add CSS to the page.");
- return;
+ head = document.createElement("head");
+ document.documentElement.appendChild(head);
}
var style = document.createElement("style");
style.type = "text/css";