diff --git a/files/assets/js/submit.js b/files/assets/js/submit.js index b305fc17e..7407b02ad 100644 --- a/files/assets/js/submit.js +++ b/files/assets/js/submit.js @@ -153,8 +153,8 @@ function autoSuggestTitle() { }; -function draft(t) { - const followers = document.getElementById("followers") +function ghost_toggle(t) { + const followers = document.getElementById("post-notify") if (t.checked == true) { followers.checked = false; followers.disabled = true; diff --git a/files/templates/submit.html b/files/templates/submit.html index b7d8ec306..6cec50ed7 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -104,7 +104,7 @@
- +
@@ -116,7 +116,7 @@ {%- endif %}
- +