fixed $ is undefined errors

This commit is contained in:
Jack 2020-12-05 14:36:56 +00:00
parent f4a55ca78a
commit edbc845def
3 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
import { $ } from "jquery";
export function showBackgroundLoader() {
$("#backgroundLoader").stop(true, true).fadeIn(125);
}

View file

@ -1,4 +1,5 @@
import { showBackgroundLoader, hideBackgroundLoader } from "./dom-util";
import { $, moment } from "jquery";
let themesList = null;
export async function getThemesList() {

View file

@ -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: " ",