ui: Done button tries window.close()
This commit is contained in:
@@ -371,6 +371,7 @@ async function deleteSelected() {
|
|||||||
|
|
||||||
async function shutdown() {
|
async function shutdown() {
|
||||||
try { await fetch('/shutdown', {method: 'POST'}); } catch(e) {}
|
try { await fetch('/shutdown', {method: 'POST'}); } catch(e) {}
|
||||||
|
window.close();
|
||||||
document.getElementById('status').textContent = 'Review complete. You can close this tab.';
|
document.getElementById('status').textContent = 'Review complete. You can close this tab.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user