fix js/ts linter errors

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2026-04-02 20:43:34 -04:00
parent 99e9d32d93
commit dc46eb7bd4
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export function initCommonGroup() {
return;
}
document.querySelector('.group.settings.options #group_name')?.addEventListener('input', function () {
document.querySelector('.group.settings.options #group_name')?.addEventListener('input', function (this: HTMLInputElement) {
const nameChanged = this.value.toLowerCase() !== this.getAttribute('data-group-name').toLowerCase();
toggleElem('#group-name-change-prompt', nameChanged);
});
-1
View File
@@ -4,7 +4,6 @@ import {fomanticQuery} from '../modules/fomantic/base.ts';
import {sanitizeRepoName} from './repo-common.ts';
const {appSubUrl} = window.config;
const $ = window.$;
function initRepoNewTemplateSearch(form: HTMLFormElement) {
const elSubmitButton = querySingleVisibleElem<HTMLInputElement>(form, '.ui.primary.button')!;
const elCreateRepoErrorMessage = form.querySelector('#create-repo-error-message')!;