...
|
...
|
@@ -17,7 +17,7 @@ var $commentList = $commentArea.find('.comments-wrap'), |
|
|
$commentBtn = $('#comment-btn'),
|
|
|
MAX_COMMENTS_WORDS = 100,
|
|
|
$wordCountTip = $('#word-count-tip'),
|
|
|
tag = $('#tags').find("li").length,
|
|
|
tag = $('#tags').find('li').length,
|
|
|
_alert = dialog.Alert;
|
|
|
|
|
|
require('../plugins/share');
|
...
|
...
|
@@ -89,7 +89,7 @@ $('#collect-btn').click(function() { |
|
|
|
|
|
if (data.code === 200) {
|
|
|
new _alert('收藏成功').show();
|
|
|
}else {
|
|
|
} else {
|
|
|
new _alert(data.message).show();
|
|
|
}
|
|
|
collecting = false;
|
...
|
...
|
@@ -135,10 +135,10 @@ function comment() { |
|
|
|
|
|
// clear comment-text
|
|
|
$('#comment-info').val('').keyup();
|
|
|
}else {
|
|
|
} else {
|
|
|
new _alert(data.message).show();
|
|
|
}
|
|
|
|
|
|
|
|
|
commenting = false;
|
|
|
}
|
|
|
});
|
...
|
...
|
|