diff --git a/script/spot.js b/script/spot.js index c70e981..ed9c561 100755 --- a/script/spot.js +++ b/script/spot.js @@ -280,7 +280,8 @@ $.prototype.hoverSwap = function(sDefault, sHover) sDefault = $This.data('default'); if(sDefault!='' && sHover != '') { - $This.fadeOut('fast', () => { + $This.fadeOut('fast', function() { + var $This = $(this); $This.text((sDefault==$This.text())?sHover:sDefault).fadeIn('fast'); }); }