Authored by xuqi

respond to code review

... ... @@ -9,7 +9,7 @@ var $ = require('jquery');
var $resend = $('#resend');
var tip = require('../../plugin/tip'),
showErrTip = tip.show;
showTip = tip.show;
$resend.on('touchstart', function(e) {
e.preventDefault();
... ... @@ -18,11 +18,7 @@ $resend.on('touchstart', function(e) {
url: $resend.data('url'),
type: 'GET',
success: function(data) {
if (data.code === 200) {
showErrTip(data.message);
} else {
showErrTip(data.message);
}
showTip(data.message);
}
});
});
\ No newline at end of file
... ...