Fade flashes in using jQuery

This commit is contained in:
Eric Allen 2009-09-06 20:00:29 -04:00
parent ce979063c5
commit 07b1dec5f3
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,6 @@
/* show the notes of a todo */
TodoBehavior.enableToggleNotes();
Nifty("div#todo_new_action_container","normal");
if ($('flash').visible()) { new Effect.Fade("flash",{duration:5.0}); }
});
</script>
</body>

View file

@ -209,8 +209,9 @@ function setup_container_toggles(){
/* Unobtrusive jQuery behavior */
$(document).ready(function() {
/* fade flashes automatically */
/* fade flashes and alerts in automatically */
$(".alert").fadeIn(8000);
$('#flash:visible').fadeIn(5000);
/* set behavior for star icon */
$(".item-container a.star_item").