Commit c8ae2fb2 authored by David Loiret's avatar David Loiret Committed by Jean-Baptiste Kempf

Use local jQuery

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2f5d582e
......@@ -224,7 +224,7 @@ function start_head( $title,
<?php /* jQuery */ ?>
<?php /* Get the one in the Google CDN to get cached */ ?>
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' type='text/javascript'></script>
<script src="<?= isDeveloper() ? '/js/jquery.min.js': '//images.videolan.org/js/jquery.min.js' ?>" type='text/javascript'></script>
<script async="async" src="<?= isDeveloper() ? '/js/bootstrap.min.js': '//images.videolan.org/js/bootstrap.min.js' ?>" type="text/javascript"></script>
<?php if( isset($additional_js) ) {
foreach($additional_js as $js) {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment