We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9f7fa commit 208651bCopy full SHA for 208651b
bootstrap-hover-tabs.js
@@ -1,6 +1,7 @@
1
(function ($) {
2
$(function () {
3
- $(document).on('mouseenter', '[data-toggle="tab"]', function () {
+ $(document).off('click.bs.tab.data-api', '[data-hover="tab"]');
4
+ $(document).on('mouseenter.bs.tab.data-api', '[data-toggle="tab"], [data-hover="tab"]', function () {
5
$(this).tab('show');
6
});
7
0 commit comments