how to fallback twitter-bootstrap cdn to local copy [duplicate]

This is what I did and it works fine

<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/js/bootstrap.min.js"></script>
<script>    $.fn.modal || document.write('<script src="Script/bootstrap.min.js">\x3C/script>')</script>

Leave a Comment

File not found.