DEV: Remove jQuery global usage where possible (#14905)

This commit is contained in:
Jarek Radosz
2021-11-12 19:23:20 +01:00
committed by GitHub
parent 97aa56bdc3
commit 9ca93f57cc
14 changed files with 16 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ import getUrl from "discourse-common/lib/get-url";
import { htmlSafe } from "@ember/template";
import { schedule } from "@ember/runloop";
// eslint-disable-next-line no-undef
jQuery.fn.wiggle = function (times, duration) {
if (times > 0) {
this.animate(