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

Remove unsed imports and merge classList calls

Co-authored-by: Sarab Singh <sarab.singh97@gmail.com>
This commit is contained in:
Delgan 2020-05-21 19:14:25 +02:00 committed by GitHub
parent c843bc9fb6
commit 70d01c92d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -103,9 +103,7 @@ function hideOsd() {
}
function setIcon(iconElement, icon) {
iconElement.classList.remove('brightness_high');
iconElement.classList.remove('brightness_medium');
iconElement.classList.remove('brightness_low');
iconElement.classList.remove('brightness_high', 'brightness_medium', 'brightness_low');
iconElement.classList.add(icon);
}