mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix video player time display
This commit is contained in:
parent
e88f66812d
commit
939e545723
21 changed files with 149 additions and 115 deletions
|
@ -1,14 +1,14 @@
|
|||
(function ($, window, store) {
|
||||
(function ($, window) {
|
||||
|
||||
function setMirrorModeEnabled(enabled) {
|
||||
|
||||
var val = enabled ? '1' : '0';
|
||||
|
||||
store.setItem('displaymirror--' + Dashboard.getCurrentUserId(), val);
|
||||
appStorage.setItem('displaymirror--' + Dashboard.getCurrentUserId(), val);
|
||||
|
||||
}
|
||||
function isMirrorModeEnabled() {
|
||||
return (store.getItem('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
|
||||
return (appStorage.getItem('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
|
||||
}
|
||||
|
||||
var currentDisplayInfo;
|
||||
|
@ -891,4 +891,4 @@
|
|||
mirrorIfEnabled(info);
|
||||
});
|
||||
|
||||
})(jQuery, window, window.appStorage);
|
||||
})(jQuery, window);
|
Loading…
Add table
Add a link
Reference in a new issue