Uncaught TypeError: Cannot read property ‘addEventListener’ of null
-
Hi there I’m getting this error on pages without any forms – is there anyway to disable the script loading on these other pages?
(index):212 Uncaught TypeError: Cannot read property 'addEventListener' of null at HTMLDocument.<anonymous> ((index):212)
which is this line
document.querySelector( gforms ).addEventListener( "submit", function ( e ) {
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught TypeError: Cannot read property ‘addEventListener’ of null’ is closed to new replies.