Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions userscript/features/empire.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function parseEmpirePage () {
*/
function injectUploadSection () {
const html = `
<table id="tv-section" class="teamview">
<div id="tv-section" class="teamview">
<tbody>
<tr>
Comment on lines 82 to 83
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's still some table leftovers

<th>Teamview</th>
Expand All @@ -88,7 +88,7 @@ function injectUploadSection () {
<td><span id="teamview-status-text" style="font-size: 85%;"></span></td>
</tr>
</tbody>
</table>
</div>
`
document.querySelector('content table').insertAdjacentHTML('beforebegin', html)
document.getElementById('teamview-upload').addEventListener('click', uploadEmpire)
Expand Down