Add live contest notification
This commit is contained in:
parent
054da6dc0d
commit
ce5ea027d2
11 changed files with 229 additions and 5 deletions
|
@ -322,6 +322,10 @@ window.register_notify = function (type, options) {
|
|||
status_change();
|
||||
};
|
||||
|
||||
window.notify_clarification = function(msg) {
|
||||
var message = `Problem ${msg.problem_label} (${msg.problem_name}):\n` + msg.body;
|
||||
alert(message);
|
||||
}
|
||||
|
||||
$(function () {
|
||||
// Close dismissable boxes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue