Open dotherightthing opened 10 years ago
ct-jquery-ariaHiddenBreakrange.min.js checks for enquire
enquire is loaded
as soon as the script/plyfill has downloaded ariaHiddenBreakrange runs
fails in MSIE
could try complete rather than callback
In isolate tests yepnope/modernizr does work. However within my project (IE) it periodically failed, plus there was a delay before the script kicked in.
For now I'm manually loading the matchMedia polyfill inside a conditional comment in the head of the page:
<!--[if lt IE 10]>
<script src="/themes/inclusive-education-theme/resources/build/scripts/polyfills-msie-header.combined.js"></script>
<![endif]-->
.