From 19b017f3986655468d72b383141256f11d58c186 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 28 Jan 2022 13:00:11 -0800 Subject: 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 --- web_src/js/features/user-auth-webauthn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web_src/js/features/user-auth-webauthn.js') diff --git a/web_src/js/features/user-auth-webauthn.js b/web_src/js/features/user-auth-webauthn.js index cf60535d40..4cb8c18219 100644 --- a/web_src/js/features/user-auth-webauthn.js +++ b/web_src/js/features/user-auth-webauthn.js @@ -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; -- cgit v1.2.3