mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-08-18 07:09:42 +02:00
update activity hiscores to match regular push todya
This commit is contained in:
parent
f3d41a46f2
commit
c2bbf4667e
@ -488,11 +488,11 @@ English
|
||||
<table class="center" style="margin: 0 auto;">
|
||||
<tr>
|
||||
<td>
|
||||
<input class="nonBlueInputSlider" id="maxXP" type="range" min="1" max="10" value="10"
|
||||
<input class="nonBlueInputSlider" id="maxXP" type="range" min="1" max="20" value="20"
|
||||
step="0.5"
|
||||
oninput="this.nextElementSibling.nextElementSibling.value = this.value % 1 != 0 ? this.value : this.value + '.0'">
|
||||
<br>
|
||||
Max XP Rate: <output id="maxXPoutput">10</output>
|
||||
Max XP Rate: <output id="maxXPoutput">20</output>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -518,7 +518,7 @@ English
|
||||
<br>
|
||||
<span style="color: rgba(0, 0, 0, 0.6);"><b>5.0x = XP Rate</b></span>
|
||||
<br>
|
||||
<span>(Default XP rate is 10)</span>
|
||||
<span id="worldxprate">World 1 default XP rate: 1x</span>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -132,4 +132,5 @@ hiscores.initalizeRightsideButtons("activity");
|
||||
hiscores.populateActivityTable("activity");
|
||||
hiscores.enterTotalXp();
|
||||
hiscores.changePlaqueWorld();
|
||||
hiscores.updateLegendText();
|
||||
hiscores.addSkillsAndActivityFilters();
|
@ -51,6 +51,10 @@ hiscores.linkLeftTabSkillNames = (loc = "hiscores") => {
|
||||
}
|
||||
|
||||
hiscores.linkLeftTabActivityNames = (loc = "activities") => {
|
||||
document.getElementsByClassName(` Overall ico`)[0].addEventListener("click", function (e) {
|
||||
e.preventDefault();
|
||||
window.location.replace(`./${loc}.html${hiscores.getFiltersAsURLparams()}`);
|
||||
});
|
||||
document.getElementsByClassName(` Slayer ico`)[0].addEventListener("click", function (e) {
|
||||
e.preventDefault();
|
||||
window.location.replace(`./${loc}.html?filter=combat${hiscores.getFiltersAsURLparams()}`);
|
||||
@ -59,10 +63,6 @@ hiscores.linkLeftTabActivityNames = (loc = "activities") => {
|
||||
e.preventDefault();
|
||||
window.location.replace(`./${loc}.html?filter=miscellaneous${hiscores.getFiltersAsURLparams()}`);
|
||||
});
|
||||
document.getElementsByClassName(` Overall ico`)[0].addEventListener("click", function (e) {
|
||||
e.preventDefault();
|
||||
window.location.replace(`./${loc}.html${hiscores.getFiltersAsURLparams()}`);
|
||||
});
|
||||
}
|
||||
|
||||
hiscores.initializePageArrows = (loc = "hiscores") => {
|
||||
|
Loading…
Reference in New Issue
Block a user