Skip to content Skip to sidebar Skip to footer

Modernizr Is Not Defined

I've included the Modernizr Touch Events detection to my project (only left the rest out to keep it light as possible). I use it to set different Google Maps JS options as followin

Solution 1:

You are calling Modernizr before theme-min.js which is where you are defining it.

You should move your code below this line.

<script type="text/javascript" src="http://duijnisveld.wpengine.com/wp-content/themes/duijnisveld-kascontructies/scripts/min/theme-min.js?ver=4.5.3"></script>

Post a Comment for "Modernizr Is Not Defined"