mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Add update scoreboard and challenge board functions to window global (#1957)
* Closes #1841 * Adds update scoreboard and challenge board functions to window global * This is a stop gap measure before we start using CTFd.js more heavily
This commit is contained in:
@@ -428,3 +428,5 @@ const loadHint = id => {
|
||||
displayUnlock(id);
|
||||
});
|
||||
};
|
||||
|
||||
window.updateChallengeBoard = update;
|
||||
|
||||
@@ -175,3 +175,5 @@ $(() => {
|
||||
setInterval(update, 300000); // Update scores every 5 minutes
|
||||
createGraph();
|
||||
});
|
||||
|
||||
window.updateScoreboard = update;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user