Change order of display for long and short url

This commit is contained in:
SinTan1729 2022-11-03 14:47:38 -05:00
parent 25c12960f3
commit 04421a592b
2 changed files with 7 additions and 7 deletions

View File

@ -52,8 +52,8 @@
<table class="pure-table"> <table class="pure-table">
<thead> <thead>
<tr> <tr>
<td>Long URL</td>
<td>Short url</td> <td>Short url</td>
<td>Long URL</td>
<td></td> <td></td>
</tr> </tr>
</thead> </thead>

View File

@ -25,8 +25,8 @@ const TR = (row) => {
const shortTD = TD(A_INT(row.short)); const shortTD = TD(A_INT(row.short));
const btn = deleteButton(row.short); const btn = deleteButton(row.short);
tr.appendChild(longTD);
tr.appendChild(shortTD); tr.appendChild(shortTD);
tr.appendChild(longTD);
tr.appendChild(btn); tr.appendChild(btn);
return tr; return tr;