diff --git a/Cargo.toml b/Cargo.toml index 97cd0e8..0196983 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "helipad" -version = "0.1.3" +version = "0.1.4" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/home.js b/home.js index edde663..203b071 100644 --- a/home.js +++ b/home.js @@ -43,6 +43,9 @@ $(document).ready(function () { if(typeof boostIndex !== "number") { noIndex = true; } + if(startIndex === null) { + boostIndex = ""; + } if (typeof max !== "number") { max = 0; } @@ -195,7 +198,7 @@ $(document).ready(function () { //Set a periodic checker for new boosts setInterval(function () { - getBoosts(); + getBoosts(null, 20, true); }, 7000); });