From e0922034c2c19b1258b4e068ed7f40e66ad3a3ec Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 11 Oct 2021 00:25:54 +0100 Subject: [PATCH] removed forced seconds from notifications --- src/js/popups/quote-submit-popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/popups/quote-submit-popup.js b/src/js/popups/quote-submit-popup.js index 2c1088499..da4977c28 100644 --- a/src/js/popups/quote-submit-popup.js +++ b/src/js/popups/quote-submit-popup.js @@ -33,9 +33,9 @@ async function submitQuote() { 10 ); } else if (response.data.languageError) { - Notifications.add("Language not found", -1, 10); + Notifications.add("Language not found", -1); } else { - Notifications.add("Quote added successfully", 1, 10); + Notifications.add("Quote added successfully", 1); $("#quoteSubmitPopup #submitQuoteText").val(""); $("#quoteSubmitPopup #submitQuoteSource").val(""); $("#quoteSubmitPopup #submitQuoteLanguage").val("");