Remove loading class if there is no favorite delete being processed

This commit is contained in:
Nathan Gray 2013-12-12 00:00:54 +00:00
parent d2e2622b77
commit 0ecc494cb4

View File

@ -520,7 +520,11 @@ var AppJS = Class.extend(
// Make sure first
var do_delete = function(button_id)
{
if(button_id != et2_dialog.YES_BUTTON) return;
if(button_id != et2_dialog.YES_BUTTON)
{
$j(line).removeClass('loading');
return;
}
// Hide the trash
$j(trash).hide();