From 6e4b887c1acdc5298891455cdd982fcc7b3a4a4b Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Mon, 29 Nov 2021 04:59:33 -0500 Subject: [PATCH] Update toastify.js Redundant double negation --- src/toastify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toastify.js b/src/toastify.js index a2c02b8..fd89e74 100644 --- a/src/toastify.js +++ b/src/toastify.js @@ -104,7 +104,7 @@ divElement.className = "toastify on " + this.options.className; // Positioning toast to left or right or center - if (!!this.options.position) { + if (this.options.position) { divElement.className += " toastify-" + this.options.position; } else { // To be depreciated in further versions