We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c8cea commit e5022caCopy full SHA for e5022ca
js/csrfprotector.js
@@ -189,7 +189,7 @@ function csrfprotector_init() {
189
// TODO - check for method
190
//==================================================================
191
// run time binding
192
- document.querySelector('body').addEventListener('submit', function() {
+ document.querySelector('body').addEventListener('submit', function(event) {
193
if (event.target.tagName.toLowerCase() === 'form') {
194
BasicSubmitInterceptor(event);
195
};
0 commit comments