addClass with delay to button element not working

addClass with delay to button element not working


I have the following code that works:
$(function(){
    $('button').each(function() {
        $(this).click(function(){
            $(this).addClass("hover");
        });
    });
});
But as soon as I add a delay to 'addClass' the effect stops working.
If I do the same thing for a paragraph or anything else, it works. Any
idea why?
$(function(){
    $('button').each(function() {
        $(this).click(function(){
            $(this).addClass("hover", 1000);
        });
    });
});