mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-23 22:34:47 -04:00
fix(discussionViewer): fix "Open comment" button
This commit is contained in:
@@ -89,6 +89,7 @@ describe('DiscussionViewer', function () {
|
||||
document.getElementById('comment_' + comments[commentKey].id).classList.contains('highlight')
|
||||
);
|
||||
}
|
||||
// clicking "Add comment" button should open the reply form
|
||||
document.getElementById('commentcontainer').querySelector('button').click();
|
||||
results.push(
|
||||
!document.getElementById('reply').classList.contains('hidden')
|
||||
|
||||
Reference in New Issue
Block a user