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

Merge pull request #6333 from viown/remove-jquery-part-1

Remove jQuery
This commit is contained in:
viown 2025-01-14 01:12:37 +03:00 committed by GitHub
parent f1c49163c2
commit 3600426058
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 177 additions and 152 deletions

View file

@ -8,6 +8,7 @@ import Events from '../../../utils/events.ts';
import '../../../components/listview/listview.scss';
import '../../../elements/emby-button/emby-button';
import dom from 'scripts/dom';
function reloadList(page) {
ApiClient.getScheduledTasks({
@ -122,7 +123,7 @@ function updateTaskButton(elem, state) {
setTaskButtonIcon(elem, 'play_arrow');
elem.title = globalize.translate('ButtonStart');
}
$(elem).parents('.listItem')[0].setAttribute('data-status', state);
dom.parentWithClass(elem, 'listItem').setAttribute('data-status', state);
}
export default function(view) {