combine style nodes
This commit is contained in:
parent
c3771ca2b2
commit
35a1e118f8
@ -867,17 +867,13 @@ window._qutebrowser.caret = (function() {
|
||||
" mix-blend-mode: difference;" +
|
||||
" filter: invert(85%);" +
|
||||
" animation: blink 1s step-end infinite;" +
|
||||
"}";
|
||||
const blink = "@keyframes blink {" +
|
||||
"}" +
|
||||
"@keyframes blink {" +
|
||||
"50% { visibility: hidden; }" +
|
||||
"}";
|
||||
const node = document.createElement("style");
|
||||
node.innerHTML = style;
|
||||
document.body.appendChild(node);
|
||||
|
||||
const node2 = document.createElement("style");
|
||||
node2.innerHTML = blink;
|
||||
document.body.appendChild(node2);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user