From 541411c2d8e986dadc5b45bec4b8cb76ccbf9efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Ferr=C3=A3o?= Date: Wed, 4 Oct 2023 12:37:39 +0100 Subject: [PATCH] Playlists scroll inline fix (#2133) relates to xibosignage/xibo#3161 --- ui/src/playlist-editor/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/playlist-editor/main.js b/ui/src/playlist-editor/main.js index f99e93cac1..9dcd76f847 100644 --- a/ui/src/playlist-editor/main.js +++ b/ui/src/playlist-editor/main.js @@ -101,7 +101,7 @@ window.pE = { */ pE.loadEditor = function(inline = false) { // Add class to body so we can use CSS specifically on it - $('body').addClass('editor-opened'); + (!inline) && $('body').addClass('editor-opened'); pE.common.showLoadingScreen(); @@ -743,7 +743,7 @@ pE.close = function() { $('#editor-container').empty(); // Remove editing class from body - $('body').removeClass('editor-opened'); + (!this.inline) && $('body').removeClass('editor-opened'); }; /**