From 7d0543a6b87115f49f418365bb053c98706c82da Mon Sep 17 00:00:00 2001 From: Valeriu Vodnicear Date: Fri, 6 Aug 2021 19:22:49 +0300 Subject: [PATCH] add time as a param --- Notify.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Notify.js b/Notify.js index d91cb79..5f8a50c 100644 --- a/Notify.js +++ b/Notify.js @@ -1,6 +1,5 @@ -Notify = function(text, callback, close_callback, style) { +Notify = function(text, callback, close_callback, style, time = 10000) { - var time = '10000'; var $container = $('#notifications'); var icon = '';