1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix querySelector TypeScript errors

This commit is contained in:
Dmitry Lyzo 2022-02-16 22:01:13 +03:00
parent 109fe6056a
commit 9423041ef1
6 changed files with 99 additions and 99 deletions

View file

@ -120,7 +120,7 @@ const UserProfilesPage: FunctionComponent = () => {
}
});
page.querySelector('.btnAddUser').addEventListener('click', function() {
(page.querySelector('.btnAddUser') as HTMLButtonElement).addEventListener('click', function() {
Dashboard.navigate('usernew.html');
});
}, []);