diff --git a/files/assets/js/submission_success.js b/files/assets/js/submission_success.js
deleted file mode 100644
index bc5c0cbb39..0000000000
--- a/files/assets/js/submission_success.js
+++ /dev/null
@@ -1,11 +0,0 @@
-history.pushState(null, null, `/post/${pid}`);
-localStorage.setItem("post-title", "")
-localStorage.setItem("post-text", "")
-localStorage.setItem("post-url", "")
-localStorage.setItem("sub", "")
-
-localStorage.setItem("post-notify", true)
-localStorage.setItem("post-new", false)
-localStorage.setItem("post-nsfw", false)
-localStorage.setItem("post-private", false)
-localStorage.setItem("post-ghost", false)
diff --git a/files/assets/js/submit.js b/files/assets/js/submit.js
index 4230f607a7..1e0b98640c 100644
--- a/files/assets/js/submit.js
+++ b/files/assets/js/submit.js
@@ -241,6 +241,17 @@ function submit(form) {
uploadfilelist.classList.add("d-none")
if (xhr.status >= 200 && xhr.status < 300) {
const post_id = JSON.parse(xhr.response)['post_id'];
+
+ localStorage.setItem("post-title", "")
+ localStorage.setItem("post-text", "")
+ localStorage.setItem("post-url", "")
+ localStorage.setItem("sub", "")
+ localStorage.setItem("post-notify", true)
+ localStorage.setItem("post-new", false)
+ localStorage.setItem("post-nsfw", false)
+ localStorage.setItem("post-private", false)
+ localStorage.setItem("post-ghost", false)
+
location.href = "/post/" + post_id
} else {
submitButton.disabled = false;
diff --git a/files/templates/submission.html b/files/templates/submission.html
index cc9af28362..94c2ba3020 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -371,10 +371,6 @@
-{% if success %}
-
-{% endif %}
-
{% if fart and not (v and v.has_badge(128)) %}
{% endif %}