mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-19 15:58:12 +01:00
Remove unnecessary code
This commit is contained in:
parent
dbfa95bf23
commit
3140aacc51
@ -25,6 +25,8 @@ function initRepoDiffFileBox(el: HTMLElement) {
|
||||
hideElem(queryElemSiblings(target));
|
||||
showElem(target);
|
||||
}));
|
||||
|
||||
highlightDiffSelectionFromHash();
|
||||
}
|
||||
|
||||
function initRepoDiffConversationForm() {
|
||||
@ -156,8 +158,6 @@ async function onShowMoreFiles() {
|
||||
initViewedCheckboxListenerFor();
|
||||
initImageDiff();
|
||||
initDiffHeaderPopup();
|
||||
// Re-apply hash selection in case the target was just loaded
|
||||
await highlightDiffSelectionFromHash();
|
||||
}
|
||||
|
||||
async function loadMoreFiles(btn: Element): Promise<boolean> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user