My site has a jQuery zoom feature that is crashing on tablets. I think my best approach is to just remove it - it's not necessary. So I'd like to not have it load if the viewport is less than 980px, what can I do to this code to do that?
<script src='js/jquery.zoom.js'></script>
something like <script>if viewport > 980px load 'script.js'</script>
?