Authored by htoooth

'fix'

... ... @@ -999,7 +999,7 @@ $captchaSmsBtn.on('click', function() {
smsCaptchaImg.showTip(res.message);
}
return $.Deferred.reject().promise(); // eslint-disable-line
return $.Deferred().reject().promise(); // eslint-disable-line
}).then(disable60sSendSmsBtn);
});
});
... ...
... ... @@ -1026,7 +1026,7 @@ $('#brand-favour').click(function() {
$('.fav-num').html(parseInt($('.fav-num').text()) - 1); // eslint-disable-line
});
default:
return $.Deferred.reject().promise();
return $.Deferred().reject().promise(); // eslint-disable-line
}
}()).then(function() {
$this.toggleClass('coled');
... ...