mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
fixed banana caret style not cleared. closes #1264
This commit is contained in:
parent
4d3a63dc7c
commit
6e40003895
1 changed files with 1 additions and 0 deletions
|
@ -699,6 +699,7 @@ export function setCaretStyle(caretStyle, nosave) {
|
|||
$("#caret").removeClass("outline");
|
||||
$("#caret").removeClass("block");
|
||||
$("#caret").removeClass("carrot");
|
||||
$("#caret").removeClass("banana");
|
||||
|
||||
if (caretStyle == "off") {
|
||||
$("#caret").addClass("off");
|
||||
|
|
Loading…
Reference in a new issue