mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move icons into class
This commit is contained in:
parent
73d39fe055
commit
d088f5ef05
74 changed files with 229 additions and 233 deletions
|
@ -181,7 +181,9 @@ define(['playbackManager', 'userSettings', 'alphaPicker', 'alphaNumericShortcuts
|
|||
return;
|
||||
}
|
||||
|
||||
btnSortIcon.innerHTML = values.sortOrder === 'Descending' ? '' : '';
|
||||
let icons = ["arrow_downward", "arrow_upward"];
|
||||
if (values.sortOrder === 'Descending') icons = icons.reverse();
|
||||
btnSortIcon.classList.replace(icons[0], icons[1]);
|
||||
}
|
||||
|
||||
function bindAll(elems, eventName, fn) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue