Update Bootstrap and jQuery to the latest compatible versions

jQuery 3.x works with Bootstrap 3.3.7 and above.
This also switches to the jQuery Slim version as we don't use the
Ajax or Effects components from jQuery.
This commit is contained in:
Hugo Locurcio
2020-09-27 23:01:37 +02:00
parent 82c51eab05
commit d69267cab2
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
"tests"
],
"dependencies": {
"bootstrap": "3",
"blueimp-file-upload": "jquery-file-upload#^9.12.3"
"bootstrap": "3.4.1",
"jquery": "3.5.1"
}
}

View File

@@ -33,9 +33,9 @@
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script defer src="<?php echo raw($bowerpath) ?>/jquery/dist/jquery.slim.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?php echo raw($bowerpath) ?>/bootstrap/dist/js/bootstrap.min.js"></script>
<script defer src="<?php echo raw($bowerpath) ?>/bootstrap/dist/js/bootstrap.min.js"></script>
</body>
</html>