Skip to content

Commit 1597990

Browse files
committed
Attempt to fix scoreboard
1 parent 5f708e8 commit 1597990

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

dojo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -513,10 +513,12 @@ modules:
513513
allow_privileged: true
514514

515515
description: |
516-
Welcome to the archive of the first-ever [2024 ACSAC Capture the Flag (CTF)](https://www.acsac.org/2024/venue/), celebrating 40 years of ACSAC. In this special edition CTF, we honor the Hawaiian culture by following the legend of <a href="https://en.wikipedia.org/wiki/M%C4%81ui_(Hawaiian_mythology)">Māui</a>, the Hawaiian demi-god. Using his magical fishing hook, <a href="https://hawaiialive.org/manaiakalani/">Manaiakalani</a>, Māui fished the Hawaiian Islands out of the ocean and created the islands we know today. Help Māui pull each island out of the ocean by solving challenges, literally creating the map we know and love.
516+
Welcome to the archive of the first-ever [2024 ACSAC Capture the Flag (CTF)](https://www.acsac.org/2024/venue/), celebrating 40 years of ACSAC. In this special edition CTF, we honor the Hawaiian culture by following the legend of <a href="https://en.wikipedia.org/wiki/M%C4%81ui_(Hawaiian_mythology)">Māui</a>, the Hawaiian demi-god. Using his magical fishing hook, <a href="https://hawaiialive.org/manaiakalani/">Manaiakalani</a>, Māui fished the Hawaiian Islands out of the ocean and created the islands we know today. Help Māui pull each island out of the ocean by solving challenges, literally creating the map we know and love.
517517
518518
Start with the `sanity-check` challenge (the canoe on the bottom left of the map).
519519
520+
You can access challenges through the CTF scoreboard below or by scrolling down to the normal list of challenges.
521+
520522
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
521523
<div style="display: flex; justify-content: center; position: relative; padding-bottom: 15ex;">
522524
<style>
@@ -829,9 +831,9 @@ modules:
829831
}
830832
});
831833
$( document ).ready(function () {
832-
const challenges_div = $($("#challenges.accordion")[1]);
833-
challenges_div.find(".accordion-item").each(function () {
834+
$(".accordion-item").each(function () {
834835
const chall = $(this);
836+
if (chall.id == "challenges") continue;
835837
const challenge = {
836838
module: chall.find("#module").val(),
837839
solves: chall.find(".total-solves").text(),
@@ -851,8 +853,6 @@ modules:
851853
}
852854
challenges[challenge.id] = challenge;
853855
});
854-
challenges_div.addClass("hide");
855-
$(challenges_div.siblings("h2")[0]).addClass("hide");
856856
});
857857
function onClassChange(element, callback) {
858858
// Ensure the element is a DOM node

0 commit comments

Comments
 (0)