1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 18:02:37 +02:00

fix(visual-test): remove jquery in them

This commit is contained in:
Johann-S
2018-06-17 23:09:04 +02:00
committed by XhmikosR
parent 0b726de94e
commit 5dcca44fcf
11 changed files with 103 additions and 57 deletions

View File

@@ -31,8 +31,9 @@
</button>
</div>
<script src="../../../node_modules/jquery/dist/jquery.slim.min.js"></script>
<script src="../../../node_modules/popper.js/dist/umd/popper.min.js"></script>
<script src="../../dist/dom/polyfill.js"></script>
<script src="../../dist/dom/manipulator.js"></script>
<script src="../../dist/dom/data.js"></script>
<script src="../../dist/dom/eventHandler.js"></script>
<script src="../../dist/dom/selectorEngine.js"></script>
@@ -40,8 +41,11 @@
<script src="../../dist/tooltip.js"></script>
<script src="../../dist/popover.js"></script>
<script>
$(function () {
$('[data-toggle="popover"]').popover()
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('[data-toggle="popover"]')
.forEach(function (popover) {
new Popover(popover)
})
})
</script>
</body>