_includes/base/script.html in jekyll-theme-centos-2.30.0 vs _includes/base/script.html in jekyll-theme-centos-2.31.0
- old
+ new
@@ -44,17 +44,9 @@
</script>
<!-- Bootstrap -->
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
<script>
- // Initialize styles
- var tables = document.querySelectorAll(".content table");
- var theads = document.querySelectorAll(".content table thead");
- var images = document.querySelectorAll(".content img");
- var i;
- for(i = 0; i < tables.length; i++) { tables[i].className += " table table-bordered"; }
- for(i = 0; i < theads.length; i++) { theads[i].className += " table-light"; }
- for(i = 0; i < images.length; i++) { images[i].className += " figure-img img-fluid rounded"; }
// Initialize Tooltips
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map((tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl));
</script>