diff --git a/gui/scripts/alerts.js b/gui/scripts/alerts.js index 5dd8878..c518998 100644 --- a/gui/scripts/alerts.js +++ b/gui/scripts/alerts.js @@ -16,7 +16,7 @@ export default class alerts { constructor(TITLE, MESSAGE) { // Set this message's properties. - if (MESSAGE = null) { + if (MESSAGE == null) { this.message = TITLE; } else { this.title = TITLE; diff --git a/scripts/filters.js b/scripts/filters.js index 15eae4c..f1585f0 100644 --- a/scripts/filters.js +++ b/scripts/filters.js @@ -89,9 +89,7 @@ export default class filters { let filter_URL = filters.dequeue(); // Inform the user of download state. - alerts.log( - texts.localized(`settings_filters_update_status`, null, [filter_URL]), - ); + new alerts (texts.localized(`settings_filters_update_status`, null, [filter_URL])); // Create promise of downloading. let filter_download = net.download(filter_URL, `JSON`, false, true);