mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Enable unicorn/prefer-prototype-methods
rule
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<script src="../../dist/tooltip.js"></script>
|
||||
<script src="../../dist/popover.js"></script>
|
||||
<script>
|
||||
[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
|
||||
Array.prototype.slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
|
||||
.forEach(function (popover) {
|
||||
new Popover(popover)
|
||||
})
|
||||
|
Reference in New Issue
Block a user