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

update components

This commit is contained in:
Luke Pulverenti 2016-11-25 01:58:38 -05:00
parent 649fd0000d
commit 765af7e4d8
51 changed files with 184 additions and 201 deletions

View file

@ -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) {