diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 9ae8e0ef9..44730f1fb 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -112,6 +112,11 @@ if (!location.pathname.endsWith('/submit')) return } + if (location.pathname == '/admin/orgy') { + document.getElementById('start-orgy').click(); + return + } + const submitButtonDOMs = formDOM.querySelectorAll('input[type=submit], .btn-primary'); if (submitButtonDOMs.length === 0) throw new TypeError("I am unable to find the submit button :(. Contact the head custodian immediately.") diff --git a/files/templates/admin/orgy_control.html b/files/templates/admin/orgy_control.html index 27b31ae84..a80a9b8c3 100644 --- a/files/templates/admin/orgy_control.html +++ b/files/templates/admin/orgy_control.html @@ -32,7 +32,7 @@