mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-16 17:12:58 +08:00
Fixes the comment check for linked comment.
This commit is contained in:
parent
b5cd3bff3c
commit
6920d6eef1
|
@ -104,11 +104,9 @@ function getUrlParameter(name) {
|
||||||
|
|
||||||
function focusLinkedComment(linkedCommentId) {
|
function focusLinkedComment(linkedCommentId) {
|
||||||
let comment = document.getElementById(linkedCommentId);
|
let comment = document.getElementById(linkedCommentId);
|
||||||
if (comment && comment.length === 0) {
|
if (comment && comment.length !== 0) {
|
||||||
return;
|
window.setupPageShow.goToText(linkedCommentId);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.setupPageShow.goToText(linkedCommentId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user