]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix visual JavaScript tests to load `bootstrap.bundle.js` as a module (#42531)
authorJulien Déramond <juderamond@gmail.com>
Sat, 20 Jun 2026 06:58:27 +0000 (08:58 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2026 06:58:27 +0000 (08:58 +0200)
15 files changed:
js/tests/visual/alert.html
js/tests/visual/button.html
js/tests/visual/carousel.html
js/tests/visual/collapse.html
js/tests/visual/datepicker.html
js/tests/visual/dialog.html
js/tests/visual/floating-label.html
js/tests/visual/input.html
js/tests/visual/menu-submenu.html
js/tests/visual/menu.html
js/tests/visual/popover.html
js/tests/visual/scrollspy.html
js/tests/visual/tab.html
js/tests/visual/toast.html
js/tests/visual/tooltip.html

index 26c187f3fd981ce0f3b1918a35f5680ada4e3533..cda3c0bb5b517e3c85dc97b1a20292d88bc2eb34 100644 (file)
@@ -47,6 +47,6 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 054dcf034a9f492dd55019f9020b1842b039f1eb..c097f840bb6ab5eb3bdbecaa8996c68441cb4db6 100644 (file)
@@ -44,6 +44,6 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 134c066f6fc87a97565024d2a47181d57201f05e..a2848b4c4b5284f992f8a0d11cc7d0165cd4d7ed 100644 (file)
@@ -48,7 +48,7 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       let t0
       let t1
index 2782c56b691f3f0dd46e5d377e9456dee5036260..8a5bfe96fee87204d50711bda8e5f4a68477209d 100644 (file)
@@ -71,6 +71,6 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 2c7a45697abc2d404cef77a8379689aa430813ed..29ec0ff57cc50aef2ab7d62ad28ebb5148d519e8 100644 (file)
 
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       /* global bootstrap: false */
 
index 98dde6331adf0a8465a20a6dadf220a8d358671e..df7835f15c8b2bc8e31713a8aa4bbdee8cbb8aee 100644 (file)
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       /* global bootstrap: false */
 
index eead58a20013d7173f771165f45e729c446bf73f..734b3156980883a330c0888178bc0b19fb5db272 100644 (file)
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 1e5eec2d1d1ec65a0f9009d6d26ae998d989f86d..180d46a79572edc4de282e32fb4a93a471972593 100644 (file)
@@ -73,6 +73,6 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index eb07538826ae1af078557dbc5a96b704d684aa2c..c25988cc9f67c04bbb7c48b42e8531b181c88e43 100644 (file)
       </section>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 189269c466091545245e0bb41d2126434aefe281..7e9ecba1516daf98b598f4d0ef91e7df5fe30256 100644 (file)
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index 36a20cac471f4ee9132fb9b13903f05cf2d5cd20..b7f8de74eab4b7273897e0e5f86f2ed995849d22 100644 (file)
@@ -31,7 +31,7 @@
       </button>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       /* global bootstrap: false */
 
index 70788b885fb2c63fb3cf6936cbcbe27b9f1e3dca..d029eb7f4df3e64c70dba393f764116344a9b005 100644 (file)
@@ -95,6 +95,6 @@
       <p>Ad leggings keytar, brunch id art party dolor labore.</p>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index a424175b0bb5ba41663db877505c4ddd0fd3c236..fd1f3abdb6ffca65454f882d24ece8c03e7f61a8 100644 (file)
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
   </body>
 </html>
index d12f78559d62743a433038820325b4221db11f2a..94f814b7608545f894611a7adb624e9b711c8e88 100644 (file)
@@ -50,7 +50,7 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       /* global bootstrap: false */
 
index 74f6f7be30cb16bf235cb1748edc0fae4e713d16..76424e2bcc4e4cb3d7de74512d45c408a30a3181 100644 (file)
@@ -83,7 +83,7 @@
       </div>
     </div>
 
-    <script src="../../../dist/js/bootstrap.bundle.js"></script>
+    <script src="../../../dist/js/bootstrap.bundle.js" type="module"></script>
     <script>
       /* global bootstrap: false */