mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 08:10:47 +02:00
Fix visual tests (#35585)
* Fix visual tests They broke in #34509 * load bundle.js in visual tests Co-authored-by: GeoSot <geo.sotis@gmail.com>
This commit is contained in:
@@ -31,18 +31,11 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<script src="../../../node_modules/@popperjs/core/dist/umd/popper.min.js"></script>
|
||||
<script src="../../dist/dom/event-handler.js"></script>
|
||||
<script src="../../dist/dom/selector-engine.js"></script>
|
||||
<script src="../../dist/dom/manipulator.js"></script>
|
||||
<script src="../../dist/dom/data.js"></script>
|
||||
<script src="../../dist/base-component.js"></script>
|
||||
<script src="../../dist/tooltip.js"></script>
|
||||
<script src="../../dist/popover.js"></script>
|
||||
<script src="../../../dist/js/bootstrap.bundle.js"></script>
|
||||
<script>
|
||||
var popoverElements = document.querySelectorAll('[data-bs-toggle="popover"]')
|
||||
for (const popoverEl of popoverElements) {
|
||||
new Popover(popoverEl)
|
||||
new bootstrap.Popover(popoverEl)
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user