Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
#78
Browse files Browse the repository at this point in the history
  • Loading branch information
Sing Painter committed Sep 4, 2018
1 parent 57af88c commit a2c3ab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ let getAccountTransactions = () => {
$aboutAccountPageNav.style.display = 'block';
pageNumber = 1;
let renderPageNumbers = 0;
let maxPagesCount = transactionsAllCount / 100 - 1;
let maxPagesCount = Math.ceil(transactionsAllCount / 100 - 1);
if (currentPageNumber > 25) pageNumber = currentPageNumber - 25;
while (renderPageNumbers <= 50) {
let $newPage = document.createElement('li');
Expand All @@ -425,7 +425,7 @@ let getAccountTransactions = () => {
$aboutAccountPagePages.appendChild($newPage);
pageNumber++;
renderPageNumbers++;
if (renderPageNumbers > maxPagesCount) break;
if (pageNumber > maxPagesCount) break;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ <h5 class="modal-title">Node address</h5>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/plotly.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/swagger-ui-bundle.js"></script>
<script src="utils.js?201807131930"></script>
<script src="init.js?201808300000"></script>
<script src="init.js?201809041010"></script>
<script src="analytics.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion init.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let loadGolosJsLib = () => {
golosJsLib.src = `https://cdn.jsdelivr.net/npm/golos-js@${golosJsVersion}/dist/golos.min.js`;
golosJsLib.onload = () => {
let appLib = document.createElement('script');
appLib.src = 'app.js?201808281600';
appLib.src = 'app.js?201809041010';
(document.head || document.documentElement).appendChild(appLib);
};
(document.head || document.documentElement).appendChild(golosJsLib);
Expand Down

0 comments on commit a2c3ab2

Please sign in to comment.