Merge branch 'master' into youtube-keybindings

This commit is contained in:
Dmitry Lyzo 2020-05-05 11:50:31 +03:00 committed by GitHub
commit e1e42b8557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
506 changed files with 28972 additions and 18142 deletions

View file

@ -1,17 +1,17 @@
define(["components/remotecontrol/remotecontrol", "libraryMenu", "emby-button"], function (remotecontrolFactory, libraryMenu) {
"use strict";
define(['components/remotecontrol/remotecontrol', 'libraryMenu', 'emby-button'], function (remotecontrolFactory, libraryMenu) {
'use strict';
return function (view, params) {
var remoteControl = new remotecontrolFactory();
remoteControl.init(view, view.querySelector(".remoteControlContent"));
view.addEventListener("viewshow", function (e) {
remoteControl.init(view, view.querySelector('.remoteControlContent'));
view.addEventListener('viewshow', function (e) {
libraryMenu.setTransparentMenu(true);
if (remoteControl) {
remoteControl.onShow();
}
});
view.addEventListener("viewbeforehide", function (e) {
view.addEventListener('viewbeforehide', function (e) {
libraryMenu.setTransparentMenu(false);
if (remoteControl) {

File diff suppressed because it is too large Load diff