]> source.dussan.org Git - gitea.git/commit
Remove vendored copy of fomantic-dropdown (#15193)
authorsilverwind <me@silverwind.io>
Tue, 30 Mar 2021 17:27:06 +0000 (19:27 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Mar 2021 17:27:06 +0000 (19:27 +0200)
commit1b762fc5d8442b0564dcc53e5cd4ed7d99fe782d
treeafd92e13e5b0b199ac1cf8ffd0393a6cd23e83ed
parentf5b6dc9759e8077f76072dbb01586f9876ccafbf
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>
.eslintrc
web_src/js/index.js
web_src/js/vendor/semanticdropdown.js [deleted file]