aboutsummaryrefslogtreecommitdiffstats
path: root/js/index.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-07-05 20:59:28 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2017-07-05 21:16:34 +0200
commitf30339d23635dea9e793ef4220cc0df6899e5506 (patch)
treec84a3c47818942ddbd54035ad83fce33dd9e3b65 /js/index.php
parent1421e7f16adc18ad0ef8c02317fcaaaefe0cf8bb (diff)
downloadnav-f30339d23635dea9e793ef4220cc0df6899e5506.tar
nav-f30339d23635dea9e793ef4220cc0df6899e5506.tar.gz
nav-f30339d23635dea9e793ef4220cc0df6899e5506.tar.bz2
nav-f30339d23635dea9e793ef4220cc0df6899e5506.tar.xz
nav-f30339d23635dea9e793ef4220cc0df6899e5506.zip
provide bootstrap collapse plugin
only JS needed for bootstrap on nav JS was modified to works with bootstrap4 instead of bootstrap3
Diffstat (limited to 'js/index.php')
-rw-r--r--js/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/index.php b/js/index.php
index 2e6d163..49932d2 100644
--- a/js/index.php
+++ b/js/index.php
@@ -22,4 +22,5 @@
header('Content-Type: text/javascript;charset=utf-8');
header(sprintf('Expires: %s', gmdate('r', strtotime('+2 day'))));
echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('jquery-3.2.1.min.js'));
+echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('bootstrap.min.js'));
echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('source.js'));