another big commit :D
This commit is contained in:
@@ -1,9 +1,24 @@
|
||||
$(function(){
|
||||
|
||||
$('[data-confirm]').click(function(){
|
||||
var c = confirm($(this).attr('data-confirm'));
|
||||
if (!c) return false;
|
||||
})
|
||||
|
||||
$('#flash').delay(3000).fadeOut('slow');
|
||||
$('.flash').click(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 'fast', function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
});
|
||||
setTimeout(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 3000, function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
}, 4000);
|
||||
})
|
||||
@@ -9,6 +9,6 @@
|
||||
//
|
||||
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
||||
// GO AFTER THE REQUIRES BELOW.
|
||||
//
|
||||
//= require jquery
|
||||
//= require app
|
||||
//= require jquery_ujs
|
||||
//= require app
|
||||
|
||||
Reference in New Issue
Block a user