diff --git a/static/script.js b/static/script.js index ad77f57..85e02c7 100644 --- a/static/script.js +++ b/static/script.js @@ -41,7 +41,7 @@ $(function () { form.submit(); }); - $('form').each(function () { + $('form').not('.have-csrf').each(function () { this.action = addUrlParam(this.action || location.href, '_csrf', document.head.getAttribute('data-csrf-token')); }); });