mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 21:53:13 +08:00
removed console log
This commit is contained in:
parent
f698158dea
commit
b03209ce0d
1 changed files with 2 additions and 4 deletions
|
@ -59,7 +59,6 @@ export async function init() {
|
|||
Config.difficulty,
|
||||
Config.lazyMode
|
||||
);
|
||||
console.log("avg pace " + wpm);
|
||||
} else if (Config.paceCaret === "custom") {
|
||||
wpm = Config.paceCaretCustomSpeed;
|
||||
} else if (TestState.isPaceRepeat == true) {
|
||||
|
@ -151,9 +150,8 @@ export function update(expectedStepEnd) {
|
|||
if (settings.currentLetterIndex === -1) {
|
||||
currentLetter = word.querySelectorAll("letter")[0];
|
||||
} else {
|
||||
currentLetter = word.querySelectorAll("letter")[
|
||||
settings.currentLetterIndex
|
||||
];
|
||||
currentLetter =
|
||||
word.querySelectorAll("letter")[settings.currentLetterIndex];
|
||||
}
|
||||
newTop = currentLetter.offsetTop - $(currentLetter).height() / 5;
|
||||
newLeft;
|
||||
|
|
Loading…
Reference in a new issue