Please check out my fiddle. Why does the flash effect only happen on the first click. After that it does not flash anymore:
$("#button").click(function (e) {
$(this).css('background', '#03182B').delay(500).queue(function(d) {
$(this).css('background', '');
});
});
You’re not dequeueing.
jsFiddle example