Refactor image diff (#31444)

And remove some jQuery functions
This commit is contained in:
wxiaoguang 2024-06-22 12:52:09 +08:00 committed by GitHub
parent b3ed1e0e62
commit 1a811c0bd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 208 additions and 184 deletions

View file

@ -79,7 +79,12 @@ import {initRepositorySearch} from './features/repo-search.js';
import {initColorPickers} from './features/colorpicker.js';
import {initAdminSelfCheck} from './features/admin/selfcheck.js';
import {initGlobalFetchAction} from './features/common-fetch-action.js';
import {initFootLanguageMenu, initGlobalComponents, initHeadNavbarContentToggle} from './features/common-page.js';
import {
initFootLanguageMenu,
initGlobalDropdown,
initGlobalTabularMenu,
initHeadNavbarContentToggle,
} from './features/common-page.js';
import {
initGlobalButtonClickOnEnter,
initGlobalButtons,
@ -95,7 +100,8 @@ initDirAuto();
initSubmitEventPolyfill();
onDomReady(() => {
initGlobalComponents();
initGlobalDropdown();
initGlobalTabularMenu();
initGlobalShowModal();
initGlobalFetchAction();
initGlobalTooltips();