mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-25 19:17:19 +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 {copy_success, copy_error} = window.config.i18n;
|
||||
|
||||
function onSuccess(btn) {
|
||||
|
Reference in New Issue
Block a user