Use explicit jQuery import, remove unused eslint globals (#18435)

- Don't rely on globals (window.$) for jQuery import
- Remove eslint globals no longer in use
This commit is contained in:
silverwind 2022-01-28 13:00:11 -08:00 committed by GitHub
parent 7b04c97b7b
commit 19b017f398
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 76 additions and 18 deletions

View file

@ -1,8 +1,8 @@
import $ from 'jquery';
import {encode, decode} from 'uint8-to-base64';
const {appSubUrl, csrfToken} = window.config;
export function initUserAuthWebAuthn() {
if ($('.user.signin.webauthn-prompt').length === 0) {
return;