This commit is contained in:
flaskfarm
2022-10-26 03:25:39 +09:00
parent d9580bba11
commit abfe8d1c3d
10 changed files with 64 additions and 22 deletions

View File

@@ -391,6 +391,7 @@ function make_page_html(data) {
for (var i = data.start_page ; i <= data.last_page ; i++) {
str += '<button id="gloablSearchPageBtn" data-page="' + i +'" type="button" class="btn btn-secondary" ';
if (i == data.current_page) {
current_page = i
str += 'disabled';
}
str += '>'+i+'</button>';