D
D
Dmitry2016-03-23 21:22:16
css
Dmitry, 2016-03-23 21:22:16

How to properly include media.match.js?

Hello. I used window.marchMedia() in the script and to support it in IE9 I included media.match.js in the site header.
<script src="js/media.match.js"></script>
The problem is that this script does not work when opening the page in IE9. I checked it locally. Maybe this is a problem. How to connect it correctly? In what place (before or after which scripts / styles)?
https://github.com/weblinc/media-match/blob/master...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Surin, 2016-03-24
@BedwaRe

There is an example in the project repository. Follow him. Because additional libraries the script does not use, you can connect it first. If you want help in a specific situation, post the specific code. Until then everything should work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question