I am trying to use this menu for mobile devices on a site. http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/comment-page-8/#comment-466199
I have work, but one ie11 user reports an error, and I see the following error in the Uncaught TypeError console: Cannot read the 'querySelectorAll' property from nullmlPushMenu._init @ mlpushmenu.js: 89mlPushMenu @ mlpushmenu.js: 67 (anonymous function) @ (index): 1062
Here is a fragment of the js file in question
function mlPushMenu( el, trigger, options ) { this.el = el; this.trigger = trigger; this.options = extend( this.defaults, options );
the specific line 89 is in the middle, so it extends here for your orientation
this.levels = Array.prototype.slice.call( this.el.querySelectorAll( 'div.mp-level' ) );
Then I called the instance of the plugin in the footer (this is index line 1082
this call looks like this:
<script> new mlPushMenu( document.getElementById( 'mp-menu' ), document.getElementById( 'trigger' ), { type : 'cover' } ); </script>
source share