Make Youtube links open in new tab

master
Dessa Simpson 2020-08-09 18:39:43 -07:00
parent 80e9bc1bde
commit 48b1252ef9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function buildTable(requests,allRequests) {
if (window.loggedIn) requestsDivHTML += `<th class="request-vote">Vote</td>`;
requestsDivHTML += "</tr>";
for (request of requests) {
requestsDivHTML += `<tr><td class="request-url"><a href="${request.url}">${request.url}</a></td>\
requestsDivHTML += `<tr><td class="request-url"><a href="${request.url}" target="_blank">${request.url}</a></td>\
<td class="request-requester">${request.requester}</td>\
<td class="request-score">${request.score}</td>`;
if (allRequests) requestsDivHTML += `<td class="request-state">${request.state}</td>`;