[Kimchi-devel] [PATCH 2/2] [Wok] Fixed wok.message.js fade-out timing

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Fri Dec 4 21:31:09 UTC 2015


From: samhenri <samuel.guimaraes at eldorado.org.br>

Signed-off-by: samhenri <samuel.guimaraes at eldorado.org.br>
---
 ui/js/src/wok.message.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/js/src/wok.message.js b/ui/js/src/wok.message.js
index a4d6596..86e8b01 100644
--- a/ui/js/src/wok.message.js
+++ b/ui/js/src/wok.message.js
@@ -37,14 +37,14 @@ wok.message = function(msg, level, node) {
     $message.fadeIn(100);
 
     var timeout = setTimeout(function() {
-        $message.delay(2000).fadeOut(100, function() {            
+        $message.delay(4000).fadeOut(100, function() {
             $message.alert('close');
             $(this).remove();
             if ($(container).children().length < 1) {
                 $(container).hide();
             }
         });
-    }, 4000);
+    }, 10000);
 };
 
 wok.message.warn = function(msg, node) {
-- 
1.9.3




More information about the Kimchi-devel mailing list