Skip to content

Commit

Permalink
Bug fix, and add 'noopener,noreferrer'
Browse files Browse the repository at this point in the history
  • Loading branch information
vagisha committed Apr 5, 2024
1 parent 8bb99b7 commit 22d6226
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ a { text-decoration: none; }
</div>

<button id="tool-support-board-btn" class="banner-button-small">Support Board</button>
<% addHandler("tool-support-board-btn", "click", "window.open(" + q(urlProvider(ProjectUrls.class).getBeginURL(getContainer().getChild("Support").getChild(tool.getName()))) + ", '_blank')"); %>
<% addHandler("tool-support-board-btn", "click", "window.open(" + q(urlProvider(ProjectUrls.class).getBeginURL(getContainer().getChild("Support").getChild(tool.getName()))) + ", '_blank', 'noopener,noreferrer')"); %>
</div>
<% if (toolEditor) { %>
<div class="menuMouseArea sprocket">
Expand Down Expand Up @@ -492,7 +492,7 @@ a { text-decoration: none; }
<span class="boldfont">Authors:</span>
<span class="toolPropertyValue"><%= h(tool.getAuthors()) %></span>
<% if (toolEditor) { %>
<%=link(editIconImgHtml).clearClasses().onClick("editTool($(this, 'author'))")%>
<%=link(editIconImgHtml).clearClasses().onClick("editTool($(this), 'author')")%>
<% } %>
</div>
<% } %>
Expand Down

0 comments on commit 22d6226

Please sign in to comment.