mirror of
https://github.com/friendica/friendica
synced 2024-11-10 13:02:54 +00:00
Bring back BB-Code in comments
This commit is contained in:
parent
d6226a5337
commit
44acbb25e4
1 changed files with 12 additions and 3 deletions
|
@ -42,13 +42,22 @@ function insertFormatting(comment,BBcode,id) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function cmtBbOpen(id) {
|
function cmtBbOpen(comment, id) {
|
||||||
|
if($(comment).hasClass('comment-edit-text-full')) {
|
||||||
$(".comment-edit-bb-" + id).show();
|
$(".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 a new issue