From a33df9ee43da43320d78b6308452784e59bf31b9 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Tue, 24 Jul 2018 22:35:16 +0100 Subject: [PATCH] fix: pagination in search if no search is executed --- htdocs/js/mpd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 8b7128d..6d3f83c 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -258,6 +258,7 @@ function appRoute() { document.getElementById('searchAddAllSongs').setAttribute('disabled', 'disabled'); document.getElementById('panel-heading-search').innerText = ''; document.getElementById('SearchList').classList.remove('opacity05'); + setPagination(0); } var btns = document.getElementById('searchtags').getElementsByTagName('button');