mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-31 01:36:00 +02:00
fixes
This commit is contained in:
parent
a5035eadba
commit
12e3e0b3ad
@ -1,5 +1,5 @@
|
|||||||
import {hideElem, showElem, type DOMEvent} from '../utils/dom.ts';
|
import {hideElem, showElem, type DOMEvent} from '../utils/dom.ts';
|
||||||
import {fomanticQuery} from "../modules/fomantic/base";
|
import {fomanticQuery} from '../modules/fomantic/base.ts';
|
||||||
|
|
||||||
export function initRepoRelease() {
|
export function initRepoRelease() {
|
||||||
document.addEventListener('click', (e: DOMEvent<MouseEvent>) => {
|
document.addEventListener('click', (e: DOMEvent<MouseEvent>) => {
|
||||||
@ -25,7 +25,6 @@ function initTagNameEditor() {
|
|||||||
const tagWarning = document.querySelector('#tag-warning');
|
const tagWarning = document.querySelector('#tag-warning');
|
||||||
const tagWarningDetailLinks = Array.from(document.getElementsByClassName('tag-warning-detail'));
|
const tagWarningDetailLinks = Array.from(document.getElementsByClassName('tag-warning-detail'));
|
||||||
const existingTags = JSON.parse(el.getAttribute('data-existing-tags'));
|
const existingTags = JSON.parse(el.getAttribute('data-existing-tags'));
|
||||||
if (!Array.isArray(existingTags)) return;
|
|
||||||
|
|
||||||
const defaultTagHelperText = el.getAttribute('data-tag-helper');
|
const defaultTagHelperText = el.getAttribute('data-tag-helper');
|
||||||
const newTagHelperText = el.getAttribute('data-tag-helper-new');
|
const newTagHelperText = el.getAttribute('data-tag-helper-new');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user