Parcourir la source

Remove a useless `return`

jvoisin il y a 1 an
Parent
commit
3cd448099d
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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]");