From 4cf77f95d85ecdec68c58d350fdb16ce134526e5 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 28 Jun 2022 19:23:28 +0700 Subject: [PATCH] Fix notification --- resources/common.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/resources/common.js b/resources/common.js index 1fed1ce..88584e4 100644 --- a/resources/common.js +++ b/resources/common.js @@ -334,13 +334,6 @@ window.register_contest_notification = function(url) { console.log("Fail to update clarification"); }) .done(function(data) { - try { - JSON.parse(data); - } - catch (e) { - return; - } - for (i of data) { window.notify_clarification(i); }