mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +08:00
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:
@@ -1,3 +1,5 @@
|
||||
import $ from 'jquery';
|
||||
|
||||
const $service = $('#service_type');
|
||||
const $user = $('#auth_username');
|
||||
const $pass = $('#auth_password');
|
||||
|
||||
Reference in New Issue
Block a user