diff --git a/ruqqus/assets/js/all_js.js b/ruqqus/assets/js/all_js.js
index 2dc406ffa..494569b85 100644
--- a/ruqqus/assets/js/all_js.js
+++ b/ruqqus/assets/js/all_js.js
@@ -713,16 +713,6 @@ $(document).ready(function() {
});
});
-$(document).ready(function() {
- $('#submitform').submit(function() {
- // disable button
- $("#create_button").prop("disabled", true);
- // add spinner to button
- $("#create_button").html('Creating post');
- });
-});
-
-
// Mobile bottom navigation bar
window.onload = function () {
@@ -791,16 +781,4 @@ $('.mention-user').click(function (event) {
window.location.href='/@' + $(this).data('original-name');
-});
-
-$('.expandable-image').click( function(event) {
-
- if (event.which != 1) {
- return
- }
- event.preventDefault();
-
- var url= $(this).data('url');
-
- expandDesktopImage(url,url);
-})
\ No newline at end of file
+});
\ No newline at end of file
diff --git a/ruqqus/templates/default.html b/ruqqus/templates/default.html
index 628b0af74..819f0a222 100644
--- a/ruqqus/templates/default.html
+++ b/ruqqus/templates/default.html
@@ -4,6 +4,18 @@
{% include "bootstrap.html" %}