mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 08:39:56 +02:00
remove polyfills which override browsers default
This commit is contained in:
@@ -230,13 +230,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-toggle="popover"]')
|
||||
[].slice.call(document.querySelectorAll('[data-toggle="popover"]'))
|
||||
.forEach(function (popover) {
|
||||
new Popover(popover)
|
||||
})
|
||||
|
||||
document.querySelectorAll('[data-toggle="tooltip"]')
|
||||
.forEach(function (tooltip) {
|
||||
var tooltipList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]'))
|
||||
tooltipList.forEach(function (tooltip) {
|
||||
new Tooltip(tooltip)
|
||||
})
|
||||
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<script src="../../dist/popover.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.querySelectorAll('[data-toggle="popover"]')
|
||||
[].slice.call(document.querySelectorAll('[data-toggle="popover"]'))
|
||||
.forEach(function (popover) {
|
||||
new Popover(popover)
|
||||
})
|
||||
|
@@ -97,7 +97,7 @@
|
||||
})
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-toggle="tooltip"]')
|
||||
[].slice.call(document.querySelectorAll('[data-toggle="tooltip"]'))
|
||||
.forEach(function (tooltip) {
|
||||
new Tooltip(tooltip)
|
||||
})
|
||||
|
Reference in New Issue
Block a user