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(['appStorage', 'events', 'browser'], function (appStorage, events, browser) {
define(['appSettings', 'events', 'browser'], function (appSettings, events, browser) {
'use strict';
var currentDisplayInfo;
@ -512,7 +512,7 @@
if (enabled != null) {
var val = enabled ? '1' : '0';
appStorage.setItem('displaymirror--' + Dashboard.getCurrentUserId(), val);
appSettings.set('displaymirror--' + Dashboard.getCurrentUserId(), val);
if (enabled) {
mirrorIfEnabled();
@ -520,7 +520,7 @@
return;
}
return (appStorage.getItem('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
return (appSettings.get('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
};
self.play = function (options) {