mirror of https://github.com/gorhill/uBlock.git
remove use of innerHTML to please Firefox validator (see https://github.com/codemirror/CodeMirror/pull/5313)
This commit is contained in:
parent
e26e70ad4e
commit
d29b40991a
|
@ -48,6 +48,12 @@
|
|||
color: #555;
|
||||
line-height: 1;
|
||||
}
|
||||
.CodeMirror-merge-scrolllock:after {
|
||||
content: "\21db\00a0\00a0\21da";
|
||||
}
|
||||
.CodeMirror-merge-scrolllock.CodeMirror-merge-scrolllock-enabled:after {
|
||||
content: "\21db\21da";
|
||||
}
|
||||
|
||||
.CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {
|
||||
position: absolute;
|
||||
|
|
|
@ -211,7 +211,7 @@
|
|||
function setScrollLock(dv, val, action) {
|
||||
dv.lockScroll = val;
|
||||
if (val && action != false) syncScroll(dv, DIFF_INSERT) && makeConnections(dv);
|
||||
dv.lockButton.innerHTML = val ? "\u21db\u21da" : "\u21db \u21da";
|
||||
(val ? CodeMirror.addClass : CodeMirror.rmClass)(dv.lockButton, "CodeMirror-merge-scrolllock-enabled");
|
||||
}
|
||||
|
||||
// Updating the marks for editor content
|
||||
|
|
Loading…
Reference in New Issue