aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-03-30 19:27:06 +0200
committerGitHub <noreply@github.com>2021-03-30 19:27:06 +0200
commit1b762fc5d8442b0564dcc53e5cd4ed7d99fe782d (patch)
treeafd92e13e5b0b199ac1cf8ffd0393a6cd23e83ed /web_src/js/index.js
parentf5b6dc9759e8077f76072dbb01586f9876ccafbf (diff)
downloadgitea-1b762fc5d8442b0564dcc53e5cd4ed7d99fe782d.tar.gz
gitea-1b762fc5d8442b0564dcc53e5cd4ed7d99fe782d.zip
Remove vendored copy of fomantic-dropdown (#15193)
jQuery 3.6.0 seems to have broke the dropdown focus handling (focus would get stuck on the dropdown) in this module which we have vendored on top of fomantic for accessibility improvements. Either downgrading jQuery to 3.5.1 or removing the vendor copy seems to resolve the issue and I opted for removing the copy because I think such changes should be done upstream and the removal also lightens the JS by 155kB before minify/gzip. Fixes: https://github.com/go-gitea/gitea/issues/15172 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index aa9b3be004..28f2087e38 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -5,7 +5,6 @@ import './publicpath.js';
import Vue from 'vue';
import {htmlEscape} from 'escape-goat';
import 'jquery.are-you-sure';
-import './vendor/semanticdropdown.js';
import initMigration from './features/migration.js';
import initContextPopups from './features/contextpopup.js';