mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-26 14:18:02 -05:00
18 lines
369 B
JavaScript
18 lines
369 B
JavaScript
function closeNotification () {
|
|
$("#notification").slideUp (200, function () {
|
|
$("#notification").remove ();
|
|
});
|
|
}
|
|
|
|
$(document).ready (function () {
|
|
notif = $("#notification");
|
|
if (notif[0] !== undefined) {
|
|
timer = setInterval('closeNotification()', 5000);
|
|
|
|
notif.find ("a.close").click (function () {
|
|
closeNotification ();
|
|
return false;
|
|
});
|
|
}
|
|
});
|