Skip to content

Commit

Permalink
Playlists scroll inline fix (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao authored Oct 4, 2023
1 parent 8be970b commit 541411c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/playlist-editor/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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');
};

/**
Expand Down

0 comments on commit 541411c

Please sign in to comment.