update components
This commit is contained in:
parent
823f69bb92
commit
db0bac5a2b
22 changed files with 113 additions and 91 deletions
|
@ -1,4 +1,4 @@
|
|||
[is=emby-collapse] {
|
||||
.emby-collapse {
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -62,11 +62,11 @@
|
|||
|
||||
EmbyButtonPrototype.attachedCallback = function () {
|
||||
|
||||
if (this.getAttribute('data-embycollapse') == 'true') {
|
||||
if (this.classList.contains('emby-collapse')) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setAttribute('data-embycollapse', 'true');
|
||||
this.classList.add('emby-collapse');
|
||||
|
||||
var collapseContent = this.querySelector('.collapseContent');
|
||||
if (collapseContent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue