From 4dcb7b714d33b83f8be73514ddd13b67bb026603 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Mon, 4 Mar 2013 03:37:42 +0100 Subject: [PATCH] Add a patch to make submit buttons work even if they would normally fail because of the margin change. --- public_html/static/script/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public_html/static/script/script.js b/public_html/static/script/script.js index d548dee..f209695 100644 --- a/public_html/static/script/script.js +++ b/public_html/static/script/script.js @@ -53,4 +53,8 @@ $(function(){ affected.hide(); } }); + + $('button[type=submit]').mousedown(function(){ + $(this).closest('form').submit(); + }); });