Merge pull request #504 from cvogeley/master

bring back BB-Code in cleanzero comments
このコミットが含まれているのは:
Thomas Willingham 2012-10-02 13:27:58 -07:00
コミット 86f907d715
1個のファイルの変更12行の追加3行の削除

ファイルの表示

@ -42,13 +42,22 @@ function insertFormatting(comment,BBcode,id) {
return true;
}
function cmtBbOpen(id) {
$(".comment-edit-bb-" + id).show();
function cmtBbOpen(comment, id) {
if($(comment).hasClass('comment-edit-text-full')) {
$(".comment-edit-bb-" + id).show();
return true;
}
return false;
}
function cmtBbClose(comment, id) {
$(".comment-edit-bb-" + id).hide();
// if($(comment).hasClass('comment-edit-text-empty')) {
// $(".comment-edit-bb-" + id).hide();
// return true;
// }
return false;
}
$(document).ready(function() {
$('.group-edit-icon').hover(