jQuery hover executed twice

Recently been using jQuery a lots for effect and for the awesome DOM manipulation. I found there is a small problem with this code:
[cc lang=”javascript” escaped=”true”]
$(“#myButton”).hover(function() {
// my hover function
}[/cc]
The function get executed when mouse over the button, but when mouse is leaving the button, it get executed again, quick fix:
[cc lang=”javascript” escaped=”true”]$(“#myButton”).hover(function() {
// my hover function
,function() {} );[/cc]
Just adding in the an empty function after that seems to fix the problem.