mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03: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