[Kimchi-devel] [PATCH] [Wok 02/10] Fixed wok.message.js fade-out timing
sguimaraes943 at gmail.com
sguimaraes943 at gmail.com
Mon Dec 14 18:58:51 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 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/js/src/wok.message.js b/ui/js/src/wok.message.js
index a4d6596..c74101e 100644
--- a/ui/js/src/wok.message.js
+++ b/ui/js/src/wok.message.js
@@ -37,19 +37,19 @@ 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) {
"use strict";
- wok.message(msg, 'alert-warning', node);
+ wok.message(msg, 'alert-warning', node);
};
wok.message.error = function(msg, node) {
"use strict";
--
1.9.3
More information about the Kimchi-devel
mailing list