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
3f3a76cc54
commit
75ef43aeb9
18 changed files with 152 additions and 75 deletions
|
@ -22,6 +22,10 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.selectContainer {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.selectLabel {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
select.dispatchEvent(evt);
|
||||
}
|
||||
|
||||
function setValue(select, value) {
|
||||
|
||||
select.value = value;
|
||||
}
|
||||
|
||||
function showActionSheeet(select) {
|
||||
|
||||
var labelElem = getLabel(select);
|
||||
|
@ -33,7 +38,7 @@
|
|||
title: title
|
||||
|
||||
}).then(function (value) {
|
||||
select.value = value;
|
||||
setValue(select, value);
|
||||
triggerChange(select);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue