From 41413b66cc3a60a6eaa7f0cdce5929c51b868466 Mon Sep 17 00:00:00 2001 From: firelemons Date: Tue, 26 Sep 2023 19:46:37 -0500 Subject: [PATCH] removed async language from warning notification --- app/assets/stylesheets/shared/notifier.scss | 2 +- app/javascript/src/notifier.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/shared/notifier.scss b/app/assets/stylesheets/shared/notifier.scss index e9965b5689..f0ccef385f 100644 --- a/app/assets/stylesheets/shared/notifier.scss +++ b/app/assets/stylesheets/shared/notifier.scss @@ -34,7 +34,7 @@ color: white } - .async-warn-indicator { + .warn-indicator { background-color: #ffc107; } diff --git a/app/javascript/src/notifier.js b/app/javascript/src/notifier.js index 67df9d6d69..84ab6ca476 100644 --- a/app/javascript/src/notifier.js +++ b/app/javascript/src/notifier.js @@ -56,11 +56,11 @@ module.exports = class Notifier { break case 'warn': this.notificationsElement.append(` -
+
${escapedMessage}
`) - .find('.async-warn-indicator button').click(function () { + .find('.warn-indicator button').click(function () { $(this).parent().remove() })