mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed $ is undefined errors
This commit is contained in:
parent
f4a55ca78a
commit
edbc845def
3 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
import { $ } from "jquery";
|
||||
|
||||
export function showBackgroundLoader() {
|
||||
$("#backgroundLoader").stop(true, true).fadeIn(125);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { showBackgroundLoader, hideBackgroundLoader } from "./dom-util";
|
||||
import { $, moment } from "jquery";
|
||||
|
||||
let themesList = null;
|
||||
export async function getThemesList() {
|
||||
|
|
|
@ -4740,7 +4740,7 @@ $(document).keydown(function (event) {
|
|||
activeFunBox === "nospace" &&
|
||||
currentInput.length === wordsList[currentWordIndex].length
|
||||
) {
|
||||
jQuery.event.trigger({
|
||||
$.event.trigger({
|
||||
type: "keydown",
|
||||
which: " ".charCodeAt(0),
|
||||
key: " ",
|
||||
|
|
Loading…
Reference in a new issue