Fix up that headre

This commit is contained in:
dginovker 2021-01-07 16:27:12 -05:00
parent e864bc4404
commit 94a70d633b
2 changed files with 4 additions and 2 deletions

View File

@ -249,8 +249,8 @@ English
<div id="scores_head" class="subsectionHeader" style="padding: 0px;">
<img id="scores_head_icon" style="margin-top: 3px;" class="miniimg_list" id="image_caption"
src="../../site/img/hiscores/skill_icon_overall1eccb.gif" alt="Skill Icon">
<span id="scores_head_skill">Overall</span>
Hiscores
<span id="scores_head_skill">Skilling</span>
Activites
</div>
<table class="table_back">
<tbody id="hiscores_table">

View File

@ -88,11 +88,13 @@ if (getParam("maxXP")) {
}
switch (getParam("filter")) {
case "combat":
document.getElementById("scores_head_skill").innerText = "Combat";
activityInfo.push(["Total Slayer Tasks Completed", "getServerTotalSlayerTasks", "total_tasks"]);
activityInfo.push(["Total Enemies Killed", "getServerTotalAttribute/enemies_killed", "sum"]);
activityInfo.push(["Total Deaths", "getServerTotalAttribute/deaths", "sum"]);
break;
case "miscellaneous":
document.getElementById("scores_head_skill").innerText = "Miscellaneous";
activityInfo.push(["Total Al Kharid Gate Tax", "getServerTotalAttribute/alkharid_gate", "sum"]);
break;
default: // Skilling