Fixes the comment check for linked comment.

This commit is contained in:
Abijeet 2017-08-22 01:39:09 +05:30
parent b5cd3bff3c
commit 6920d6eef1

View File

@ -104,11 +104,9 @@ function getUrlParameter(name) {
function focusLinkedComment(linkedCommentId) {
let comment = document.getElementById(linkedCommentId);
if (comment && comment.length === 0) {
return;
if (comment && comment.length !== 0) {
window.setupPageShow.goToText(linkedCommentId);
}
window.setupPageShow.goToText(linkedCommentId);
}
module.exports = {