attempt to fix paging
This commit is contained in:
parent
ddd8d4e3b2
commit
d6c3eb9081
@ -90,12 +90,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="separator">Search</div>
|
<div class="separator">Search</div>
|
||||||
<div class="option checkbox">
|
<div class="option checkbox">
|
||||||
<label for="st-streamable">Include streamable tracks in searches (experimental)</label>
|
<label for="st-streamable">Include streamable tracks in searches</label>
|
||||||
<input type="checkbox" id="st-streamable" name="streamable">
|
<input type="checkbox" id="st-streamable" name="streamable">
|
||||||
</div>
|
</div>
|
||||||
<div class="separator">LastFM</div>
|
<div class="separator">Last.fm</div>
|
||||||
<div class="option url" id="lfm-connect">
|
<div class="option url" id="lfm-connect">
|
||||||
<a href="/api/lastfm/connect">Connect your LastFM account</a>
|
<a href="/api/lastfm/connect">Connect your Last.fm account</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="option url" id="lfm-disconnect">
|
<div class="option url" id="lfm-disconnect">
|
||||||
<label id="lfm-connected"></label>
|
<label id="lfm-connected"></label>
|
||||||
|
@ -497,7 +497,8 @@
|
|||||||
clear.style.display = 'none'
|
clear.style.display = 'none'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (page > pages) page = pages
|
if (page > pages) page = pageNum = pages
|
||||||
|
if (page < pages) page = pageNum = 1
|
||||||
updatePaging()
|
updatePaging()
|
||||||
|
|
||||||
if (playlist === -1) {
|
if (playlist === -1) {
|
||||||
@ -796,7 +797,7 @@
|
|||||||
httpGet('/user/info').then(function (data) {
|
httpGet('/user/info').then(function (data) {
|
||||||
user = data
|
user = data
|
||||||
loggedin.innerHTML = 'Logged in as ' + data.username
|
loggedin.innerHTML = 'Logged in as ' + data.username
|
||||||
// LastFM
|
// Last.fm
|
||||||
httpGet('/api/lastfm').then(function (data) {
|
httpGet('/api/lastfm').then(function (data) {
|
||||||
user.lastfm = data
|
user.lastfm = data
|
||||||
updateLastFMOptions()
|
updateLastFMOptions()
|
||||||
|
Loading…
Reference in New Issue
Block a user