ui: Done button tries window.close()

This commit is contained in:
admin
2026-04-28 01:11:26 +00:00
parent 2bc9a9c99c
commit f39d775199

View File

@@ -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.';
} }