diff options
author | silverwind <me@silverwind.io> | 2020-04-19 00:46:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 18:46:29 -0400 |
commit | b57a735e7739550ed4677af71c5eb0a8032a69f3 (patch) | |
tree | 09632bc4bbaca2e6a77318bd496c4e16ba5d178b /web_src/js/jquery.js | |
parent | 4be7cf04054e5eab3b2cf4a63ad31a9333ab4732 (diff) | |
download | gitea-b57a735e7739550ed4677af71c5eb0a8032a69f3.tar.gz gitea-b57a735e7739550ed4677af71c5eb0a8032a69f3.zip |
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>
Diffstat (limited to 'web_src/js/jquery.js')
-rw-r--r-- | web_src/js/jquery.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web_src/js/jquery.js b/web_src/js/jquery.js index f2932dbfa4..892e2763cb 100644 --- a/web_src/js/jquery.js +++ b/web_src/js/jquery.js @@ -1,5 +1,3 @@ import $ from 'jquery'; -import 'jquery-migrate'; -$.migrateMute = true; window.$ = window.jQuery = $; |