From 523d63ab010766b6e660ffba3282ee557c2ea2ed Mon Sep 17 00:00:00 2001 From: whales Date: Mon, 23 Mar 2020 00:04:21 +1030 Subject: [PATCH] Fix deleting all highlights --- js/client-chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/client-chat.js b/js/client-chat.js index e58c95619..9df747f53 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -810,6 +810,7 @@ } else { if (target === 'delete') { Dex.prefs('highlights', false); + this.updateHighlightRegExp({}); this.add("All highlights cleared"); } else if (['show', 'list', 'roomshow', 'roomlist'].includes(target)) { // Shows a list of the current highlighting words