This commit is contained in:
jackHay22 2025-01-17 13:14:37 -05:00
parent a5035eadba
commit 12e3e0b3ad

View File

@ -1,5 +1,5 @@
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() {
document.addEventListener('click', (e: DOMEvent<MouseEvent>) => {
@ -25,7 +25,6 @@ function initTagNameEditor() {
const tagWarning = document.querySelector('#tag-warning');
const tagWarningDetailLinks = Array.from(document.getElementsByClassName('tag-warning-detail'));
const existingTags = JSON.parse(el.getAttribute('data-existing-tags'));
if (!Array.isArray(existingTags)) return;
const defaultTagHelperText = el.getAttribute('data-tag-helper');
const newTagHelperText = el.getAttribute('data-tag-helper-new');