summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index dc6e47e..5eec239 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -77,6 +77,7 @@
function submitAjaxer(e, name, value) {
e.preventDefault();
+ if ($(this).hasClass('disabled')) { return; }
var form = $(this).closest('form');
var joke = $(this).closest('.joke');
$.ajax({