FIX: not highlighting stuff a second time

This commit is contained in:
Sam 2014-07-30 12:32:14 +10:00
parent e227b68f8d
commit f29a761445
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ Discourse.PostView.reopenClass({
.stop() .stop()
.animate({ backgroundColor: origColor }, 2500, 'swing', function(){ .animate({ backgroundColor: origColor }, 2500, 'swing', function(){
$contents.removeClass('highlighted'); $contents.removeClass('highlighted');
$contents.css({'background-color': ''});
}); });
} }
} }