Make Youtube links open in new tab
parent
80e9bc1bde
commit
48b1252ef9
|
@ -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>`;
|
||||
|
|
Loading…
Reference in New Issue