mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
revert recent changes to cmtBbClose which removed the ability to insert quotes into an empty comment box
This commit is contained in:
parent
55fe471ce8
commit
25901a7bc4
1 changed files with 4 additions and 4 deletions
|
@ -9,10 +9,10 @@ function cmtBbOpen(comment, id) {
|
|||
}
|
||||
|
||||
function cmtBbClose(comment, id) {
|
||||
if($(comment).hasClass('comment-edit-text-empty')) {
|
||||
$(".comment-edit-bb-" + id).hide();
|
||||
return true;
|
||||
}
|
||||
// if($(comment).hasClass('comment-edit-text-empty')) {
|
||||
// $(".comment-edit-bb-" + id).hide();
|
||||
// return true;
|
||||
// }
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue