Browse Source

Remove a useless `return`

jvoisin 1 year ago
parent
commit
3cd448099d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      internal/ui/static/js/app.js

+ 0 - 1
internal/ui/static/js/app.js

@@ -396,7 +396,6 @@ function openCommentLink(openLinkInCurrentTab) {
             } else {
             } else {
                 DomHelper.openNewTab(entryLink.getAttribute("href"));
                 DomHelper.openNewTab(entryLink.getAttribute("href"));
             }
             }
-            return;
         }
         }
     } else {
     } else {
         const currentItemCommentsLink = document.querySelector(".current-item :is(a, button)[data-comments-link]");
         const currentItemCommentsLink = document.querySelector(".current-item :is(a, button)[data-comments-link]");