소스 검색

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>
tags/v1.15.0-rc1
silverwind 3 년 전
부모
커밋
1b762fc5d8
No account linked to committer's email address
3개의 변경된 파일0개의 추가작업 그리고 4302개의 파일을 삭제
  1. 0
    1
      .eslintrc
  2. 0
    1
      web_src/js/index.js
  3. 0
    4300
      web_src/js/vendor/semanticdropdown.js

+ 0
- 1
.eslintrc 파일 보기

@@ -2,7 +2,6 @@ root: true
reportUnusedDisableDirectives: true

ignorePatterns:
- /web_src/js/vendor
- /templates/base/head.tmpl
- /templates/repo/activity.tmpl
- /templates/repo/view_file.tmpl

+ 0
- 1
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';

+ 0
- 4300
web_src/js/vendor/semanticdropdown.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장