Merge pull request #504 from cvogeley/master
bring back BB-Code in cleanzero comments
This commit is contained in:
commit
86f907d715
|
@ -42,13 +42,22 @@ function insertFormatting(comment,BBcode,id) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function cmtBbOpen(id) {
|
function cmtBbOpen(comment, id) {
|
||||||
$(".comment-edit-bb-" + id).show();
|
if($(comment).hasClass('comment-edit-text-full')) {
|
||||||
|
$(".comment-edit-bb-" + id).show();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
function cmtBbClose(comment, id) {
|
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() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('.group-edit-icon').hover(
|
$('.group-edit-icon').hover(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user