diff --git a/Web/static/js/al_music.js b/Web/static/js/al_music.js index a5bc8a6a..9632615d 100644 --- a/Web/static/js/al_music.js +++ b/Web/static/js/al_music.js @@ -205,6 +205,9 @@ window.player = new class { if(!this.context.object) { return } + if(this.context.playedPages.indexOf(page) != -1) { + return + } const form_data = new FormData switch(this.context.object.name) { diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index f0b26209..2c426130 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -2362,6 +2362,7 @@ async function __processPaginatorNextPage(page) if(window.player && window.player.isAtAudiosPage() && window.player.isAtCurrentContextPage()) { window.player.loadContext(page) + window.player.__highlightActiveTrack() } /*if(window.router) { diff --git a/Web/static/js/router.js b/Web/static/js/router.js index 666174c6..0bd7a5d6 100644 --- a/Web/static/js/router.js +++ b/Web/static/js/router.js @@ -91,6 +91,10 @@ window.router = new class { u('.page_header #search_box select').nodes[0].value = page_header.find('#search_box select').nodes[0].value } + if(u('.page_header #search_box input').length > 0 && page_header.find('#search_box input').length > 0) { + u('.page_header #search_box input').nodes[0].value = page_header.find('#search_box input').nodes[0].value + } + if(page_header.hasClass('search_expanded_at_all')) { u('.page_header').addClass('search_expanded_at_all').addClass('search_expanded') } else {