Fix deleting all highlights

This commit is contained in:
whales 2020-03-23 00:04:21 +10:30
parent ea3d0eaab4
commit 523d63ab01

View File

@ -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