From b57a735e7739550ed4677af71c5eb0a8032a69f3 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 19 Apr 2020 00:46:29 +0200 Subject: 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 --- web_src/js/jquery.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'web_src/js/jquery.js') 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 = $; -- cgit v1.2.3