From 985d771b1381be713931b78367c784186aa3dc8f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Thu, 19 Feb 2015 21:24:09 +0100 Subject: [PATCH] decreasing bubble display time in themes from 10s to 5s --- js/main.js | 4 ++-- view/theme/frost-mobile/js/main.js | 2 +- view/theme/frost/js/main.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/main.js b/js/main.js index 23f63f8224..5f4b56f4d8 100644 --- a/js/main.js +++ b/js/main.js @@ -210,7 +210,7 @@ }); eSysmsg.children("info").each(function(){ text = $(this).text(); - $.jGrowl(text, { sticky: false, theme: 'info', life: 10000 }); + $.jGrowl(text, { sticky: false, theme: 'info', life: 5000 }); }); }); @@ -290,7 +290,7 @@ if(livetime) { clearTimeout(livetime); } - livetime = setTimeout(liveUpdate, 10000); + livetime = setTimeout(liveUpdate, 5000); return; } if(livetime != null) diff --git a/view/theme/frost-mobile/js/main.js b/view/theme/frost-mobile/js/main.js index 07d0c52b36..9eac71be83 100644 --- a/view/theme/frost-mobile/js/main.js +++ b/view/theme/frost-mobile/js/main.js @@ -293,7 +293,7 @@ if(livetime) { clearTimeout(livetime); } - livetime = setTimeout(liveUpdate, 10000); + livetime = setTimeout(liveUpdate, 5000); return; } if(livetime != null) diff --git a/view/theme/frost/js/main.js b/view/theme/frost/js/main.js index a7962267f2..5483ad6bc3 100644 --- a/view/theme/frost/js/main.js +++ b/view/theme/frost/js/main.js @@ -285,7 +285,7 @@ if(livetime) { clearTimeout(livetime); } - livetime = setTimeout(liveUpdate, 10000); + livetime = setTimeout(liveUpdate, 5000); return; } if(livetime != null) -- 2.39.5