double quoted and className corrected

This commit is contained in:
Slackhead 2018-06-09 19:45:48 +01:00
parent 7858bb97d1
commit c3771ca2b2

View File

@ -945,7 +945,7 @@ window._qutebrowser.caret = (function() {
*/ */
CaretBrowsing.setCaretElementNormalStyle = function() { CaretBrowsing.setCaretElementNormalStyle = function() {
const element = CaretBrowsing.caretElement; const element = CaretBrowsing.caretElement;
element.ClassName = "CaretBrowsing_Caret"; element.className = "CaretBrowsing_Caret";
if (CaretBrowsing.isSelectionCollapsed) { if (CaretBrowsing.isSelectionCollapsed) {
element.style.opacity = "1.0"; element.style.opacity = "1.0";
} else { } else {
@ -1260,7 +1260,7 @@ window._qutebrowser.caret = (function() {
}; };
CaretBrowsing.startAnimation = function() { CaretBrowsing.startAnimation = function() {
CaretBrowsing.caretElement.style.animationIterationCount = 'infinite'; CaretBrowsing.caretElement.style.animationIterationCount = "infinite";
}; };
CaretBrowsing.stopAnimation = function() { CaretBrowsing.stopAnimation = function() {