mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
Fade flashes in using jQuery
This commit is contained in:
parent
ce979063c5
commit
07b1dec5f3
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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").
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue