forked from MarseyWorld/MarseyWorld
fix
parent
d2021c3b94
commit
b32a399925
|
@ -510,4 +510,4 @@ if SITE == 'pcmemes.net':
|
|||
g.db.delete(streamer)
|
||||
|
||||
live_cached = cache.get('live_cached') or [[],[]]
|
||||
return render_template('live.html', v=v, live=live_cached()[0], offline=live_cached()[1], msg="Channel removed successfuly!")
|
||||
return render_template('live.html', v=v, live=live_cached[0], offline=live_cached[1], msg="Channel removed successfuly!")
|
|
@ -15,7 +15,7 @@
|
|||
</style>
|
||||
<script>
|
||||
function go_to(e, link) {
|
||||
if (e.target.type != "submit")
|
||||
if (!e.target instanceof HTMLInputElement)
|
||||
window.open(link, '_blank');
|
||||
}
|
||||
</script>
|
||||
|
@ -59,7 +59,8 @@
|
|||
<form action="/live/remove" method="post">
|
||||
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
||||
<input type="hidden" name="id" value="{{id}}">
|
||||
<input autocomplete="off" class="btn btn-primary ml-auto" type="submit" onclick="disable(this)" value="Remove">
|
||||
<input autocomplete="off" class="btn btn-primary ml-auto" onclick="this.nextElementSibling.classList.remove('d-none');this.classList.add('d-none')" value="Remove">
|
||||
<input autocomplete="off" class="btn btn-primary ml-auto d-none" type="submit" onclick="disable(this)" value="Are you sure?">
|
||||
</form>
|
||||
</td>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue