Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055)
- Removed jQuery-Migrate as it seems to no longer be needed. - Removed a dead code section. - Fixed some deprecations detected by jQuery-Migrate. Ref: https://jquery.com/upgrade-guide/3.5/ Ref: https://github.com/gogs/gogs/search?q=repo-name-change-prompt Ref: https://github.com/go-gitea/gitea/search?q=repo-name-change-prompt Fixes: https://github.com/go-gitea/gitea/issues/9372 Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
2
web_src/js/jquery.js
vendored
2
web_src/js/jquery.js
vendored
@ -1,5 +1,3 @@
|
||||
import $ from 'jquery';
|
||||
import 'jquery-migrate';
|
||||
|
||||
$.migrateMute = true;
|
||||
window.$ = window.jQuery = $;
|
||||
|
Reference in New Issue
Block a user