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
649fd0000d
commit
765af7e4d8
51 changed files with 184 additions and 201 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['appSettings', 'userSettings', 'appStorage', 'datetime', 'browser'], function (appSettings, userSettings, appStorage, datetime, browser) {
|
||||
define(['appSettings', 'userSettings', 'datetime', 'browser'], function (appSettings, userSettings, datetime, browser) {
|
||||
'use strict';
|
||||
|
||||
function mediaPlayer() {
|
||||
|
@ -1095,13 +1095,13 @@ define(['appSettings', 'userSettings', 'appStorage', 'datetime', 'browser'], fun
|
|||
self.saveVolume = function (val) {
|
||||
|
||||
if (val) {
|
||||
appStorage.setItem("volume", val);
|
||||
appSettings.set("volume", val);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
self.getSavedVolume = function () {
|
||||
return appStorage.getItem("volume") || 0.5;
|
||||
return appSettings.get("volume") || 0.5;
|
||||
};
|
||||
|
||||
self.shuffle = function (id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue