jquery-modal
jquery-modal copied to clipboard
Uncaught TypeError: Cannot read property 'no_modals' of null
Got an unusual error reported in jquery-modal, appears to only affect Safari. Can event.state ever be null?
TypeError: Cannot read property 'no_modals' of null
1
File "node_modules/jquery-modal/jquery.modal.js" line 87 col 1 in Function.e.modal.handlePopstate.e.modal.handlePopstate
if (event.state.no_modals) {
2
File "node_modules/jquery-modal/jquery.modal.js" line 102 col 1 in [anonymous]
$.modal.handlePopstate(jqueryEvent.originalEvent);
3
File "node_modules/jquery/dist/jquery.js" line 5183 col 1 in dispatch
handleObj.handler ).apply( matched.elem, args );
4
File "node_modules/jquery/dist/jquery.js" line 4991 col 1 in add
jQuery.event.dispatch.apply( elem, arguments ) : undefined;
Browser: Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3