diff --git a/htdocs/js/mympd.js b/htdocs/js/mympd.js index f15db51..f5b99da 100644 --- a/htdocs/js/mympd.js +++ b/htdocs/js/mympd.js @@ -1594,7 +1594,7 @@ function parseState(obj) { pb[i].innerText = ''; } - if (app.current.app == 'LastPlayed') + if (app.current.app == 'Queue' && app.current.tab == 'LastPlayed') sendAPI({"cmd": "MPD_API_QUEUE_LAST_PLAYED", "data": {"offset": app.current.page}}, parseLastPlayed); lastState = obj;