Skip to content

Commit 62b8b7f

Browse files
fix js/ts linter errors
1 parent 18c84b3 commit 62b8b7f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

web_src/js/features/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function initCommonGroup() {
77
return;
88
}
99

10-
document.querySelector('.group.settings.options #group_name')?.addEventListener('input', function () {
10+
document.querySelector('.group.settings.options #group_name')?.addEventListener('input', function (this: HTMLInputElement) {
1111
const nameChanged = this.value.toLowerCase() !== this.getAttribute('data-group-name').toLowerCase();
1212
toggleElem('#group-name-change-prompt', nameChanged);
1313
});

web_src/js/features/repo-new.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {fomanticQuery} from '../modules/fomantic/base.ts';
44
import {sanitizeRepoName} from './repo-common.ts';
55

66
const {appSubUrl} = window.config;
7-
const $ = window.$;
87
function initRepoNewTemplateSearch(form: HTMLFormElement) {
98
const elSubmitButton = querySingleVisibleElem<HTMLInputElement>(form, '.ui.primary.button');
109
const elCreateRepoErrorMessage = form.querySelector('#create-repo-error-message');

0 commit comments

Comments
 (0)