hawkeye116477 6 anni fa
parent
commit
1b14ded6d8
Nessun account collegato all'indirizzo email del committer
2 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  1. 5
    1
      assets/js/bootstrap.bundle.js
  2. 3
    2
      layouts/partials/footer.html

static/plugins/bootstrap/dist/js/bootstrap.bundle.js → assets/js/bootstrap.bundle.js Vedi File

@@ -145,7 +145,11 @@
selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : '';
}

return selector && document.querySelector(selector) ? selector : null;
try {
return document.querySelector(selector) ? selector : null
} catch (err) {
return null
}
},
getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {
if (!element) {

+ 3
- 2
layouts/partials/footer.html Vedi File

@@ -34,8 +34,9 @@

{{"<!-- Main jQuery -->" | safeHTML}}
<script type="text/javascript" src="{{ "plugins/jquery/dist/jquery.min.js" | absURL}}"></script>
{{"<!-- Bootstrap 3.1 -->" | safeHTML}}
<script type="text/javascript" src="{{ "plugins/bootstrap/dist/js/bootstrap.min.js" | absURL}}"></script>
{{"<!-- Bootstrap 4.2 + Popper -->" | safeHTML}}
{{ $bs := resources.Get "js/bootstrap.bundle.js" | minify}}
<script type="text/javascript" src="{{ $bs.Permalink }}"></script>
{{"<!-- Slick Carousel -->" | safeHTML}}
<script type="text/javascript" src="{{ "plugins/slick-carousel/slick/slick.min.js" | absURL}}"></script>
{{"<!-- Portfolio Filtering -->" | safeHTML}}

Loading…
Annulla
Salva