remove bootstrap, popper, perfect-scrollbar, and smooth-scrollbar from javascript block and added to importmap

This commit is contained in:
2024-12-25 17:19:52 +00:00
parent ff50c96b74
commit 5b0ededa27
2 changed files with 40 additions and 6 deletions

View File

@ -11,8 +11,8 @@
</title>
<!-- Simple CSS
<link
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
<link
rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">-->
<!-- Fonts and icons -->
<link
@ -35,10 +35,6 @@
{% block javascripts %}
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script src="{{ asset('js/core/popper.min.js') }}"></script>
<script src="{{ asset('js/core/bootstrap.min.js') }}"></script>
<script src="{{ asset('js/plugins/perfect-scrollbar.min.js') }}"></script>
<script src="{{ asset('js/plugins/smooth-scrollbar.min.js') }}"></script>
<script>
var win = navigator.platform.indexOf('Win') > -1;
if (win && document.querySelector('#sidenav-scrollbar')) {