mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Fix backdrop screensaver: autoplay and hide
This commit is contained in:
parent
692a649ecc
commit
d53a190d7c
@ -123,7 +123,7 @@ define(['dialogHelper', 'inputManager', 'connectionManager', 'layoutManager', 'f
|
||||
var _osdOpen = false;
|
||||
|
||||
// Use autoplay on Chromecast since it is non-interactive.
|
||||
options.interactive = !browser.chromecast;
|
||||
if (browser.chromecast) options.interactive = false;
|
||||
|
||||
/**
|
||||
* Creates the HTML markup for the dialog and the OSD.
|
||||
@ -609,7 +609,6 @@ define(['dialogHelper', 'inputManager', 'connectionManager', 'layoutManager', 'f
|
||||
* Hides the slideshow element.
|
||||
*/
|
||||
self.hide = function () {
|
||||
var dialog = dialog;
|
||||
if (dialog) {
|
||||
dialogHelper.close(dialog);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user