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

localize plugin installation process

This commit is contained in:
Luke Pulverenti 2014-08-31 15:15:33 -04:00
parent c444daa6e8
commit 7a319688de
7 changed files with 215 additions and 185 deletions

View file

@ -2,13 +2,13 @@
function setMirrorModeEnabled(enabled) {
var val = enabled ? '1' : '';
var val = enabled ? '1' : '0';
store.setItem('displaymirror-' + Dashboard.getCurrentUserId(), val);
}
function isMirrorModeEnabled() {
return (store.getItem('displaymirror-' + Dashboard.getCurrentUserId()) || '') == '1';
return (store.getItem('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
}
var currentDisplayInfo;