From 622a6d932496d6ef3110c6002fe0bacfb68e1ce5 Mon Sep 17 00:00:00 2001 From: conory Date: Sat, 5 Mar 2016 18:03:28 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=8C=EB=A6=BC=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=20=ED=81=B4=EB=A6=AD=EC=8B=9C=202=EC=B4=88=20?= =?UTF-8?q?=ED=9B=84=EC=97=90=20=EB=A9=94=EC=84=B8=EC=A7=80=20=EB=8B=AB?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/communication/tpl/js/member_communication.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/communication/tpl/js/member_communication.js b/modules/communication/tpl/js/member_communication.js index e0e71d1a3..ae6f8c013 100644 --- a/modules/communication/tpl/js/member_communication.js +++ b/modules/communication/tpl/js/member_communication.js @@ -1,6 +1,6 @@ (function($){ + var $bar; window.xeNotifyMessage = function(text, count){ - var $bar; $bar = $('div.message.info'); if(!$bar.length) { $bar = $('
') @@ -13,7 +13,13 @@ } text = text.replace('%d', count); - $bar.html('

'+text+'

').height(); + $bar.html('

'+text+'

').height(); $bar.show().animate({top:0}); }; + + window.xeNotifyMessageClose = function(){ + setTimeout(function(){ + $bar.slideUp(); + }, 2000); + }; })(jQuery);