mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
8f42677b0c
commit
5b72e1c91b
7 changed files with 90 additions and 129 deletions
|
@ -55,14 +55,14 @@
|
|||
|
||||
EmbyButtonPrototype.attachedCallback = function () {
|
||||
|
||||
if (this.getAttribute('data-embybutton') == 'true') {
|
||||
if (this.classList.contains('emby-button')) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setAttribute('data-embybutton', 'true');
|
||||
this.classList.add('emby-button');
|
||||
|
||||
if (browser.safari || browser.firefox || browser.noFlex) {
|
||||
this.classList.add('noflex');
|
||||
this.classList.add('emby-button-noflex');
|
||||
}
|
||||
|
||||
if (enableAnimation()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue