Fix notification
This commit is contained in:
parent
a19a795316
commit
4cf77f95d8
1 changed files with 0 additions and 7 deletions
|
@ -334,13 +334,6 @@ window.register_contest_notification = function(url) {
|
||||||
console.log("Fail to update clarification");
|
console.log("Fail to update clarification");
|
||||||
})
|
})
|
||||||
.done(function(data) {
|
.done(function(data) {
|
||||||
try {
|
|
||||||
JSON.parse(data);
|
|
||||||
}
|
|
||||||
catch (e) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i of data) {
|
for (i of data) {
|
||||||
window.notify_clarification(i);
|
window.notify_clarification(i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue