]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add protocol for jQuery to work when accessed as file
authorRoss Allen <rossgit@gmail.com>
Tue, 5 Nov 2013 17:23:58 +0000 (07:23 -1000)
committerRoss Allen <rossgit@gmail.com>
Tue, 5 Nov 2013 17:23:58 +0000 (07:23 -1000)
URLs without protocols get "file:" prepended when their document is
loaded as a file. Make sure the docs can always be opened by
specifying a protocol.

_includes/footer.html

index 8927c9048b00a4e4af98176fe1c1610063db33a6..14f6db9a10843477dfb0adc642d09cd52b94e1f1 100644 (file)
@@ -1,7 +1,7 @@
 <!-- Bootstrap core JavaScript
 ================================================== -->
 <!-- Placed at the end of the document so the pages load faster -->
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
 <script src="{{ page.base_url }}dist/js/bootstrap.js"></script>
 
 <script src="{{ page.base_url }}docs-assets/js/holder.js"></script>