Fix status replies JS

FossilOrigin-Name: b1377be8778ec04a3315a45987cf05e2baf9adf12600a4493c9de7dad47b8a5d
This commit is contained in:
nekobit 2022-06-18 05:47:32 +00:00
parent dce2c390b5
commit 12bcdc19ff
2 changed files with 2 additions and 2 deletions

2
dist/js/main.js vendored
View file

@ -177,7 +177,7 @@ function status_interact_props(e)
let type = interact.parentNode.querySelector(".itype");
if (type === null)
return true;
let status = interact.closest(".status");
let status = interact.closest(".status .status-table");
send_request("/treebird_api/v1/interact",
{

View file

@ -1,7 +1,7 @@
<table class="tabs ui-table">
<tr>
<td>
<label TODO
<label for
<a href="{{%s:prefix}}/search/statuses?q={{%s:query}}"><input class="tab-btn btn {{%s:statuses_active}}" type="button" value="{{%s:statuses}}"></a>
</td>
<td>