Explorar el Código

Remove a useless `return`

jvoisin hace 1 año
padre
commit
3cd448099d
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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]");