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