From 82b33f5247a49e4dff166a633adaab88b24f5198 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 6 Aug 2024 04:02:55 +0300 Subject: [PATCH] remove unused --- files/assets/js/chat.js | 1 - 1 file changed, 1 deletion(-) diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 583fb7a00..01f769f73 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -23,7 +23,6 @@ const blocked_user_ids = document.getElementById('blocked_user_ids').value.split const group_names = document.getElementById('group_names').value.replaceAll(', ', '|').replaceAll("'", "") const group_names_pattern = String.raw`(\s|^)!(` + group_names + String.raw`)(\s|$)` -const group_names_regex = new RegExp(group_names_pattern, "g"); function scrolled_down() { return box.scrollHeight - box.scrollTop <= innerHeight