]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Tab.js: Fixes on click handling (#33586)
authorGeoSot <geo.sotis@gmail.com>
Tue, 20 Apr 2021 05:26:58 +0000 (08:26 +0300)
committerGitHub <noreply@github.com>
Tue, 20 Apr 2021 05:26:58 +0000 (08:26 +0300)
commit0bbe45cd977ae69f11b4cdd55e5d5be08e4a137a
tree3a66a5e3d2e88baa8cc0298a00b569df972c9b69
parentb59b75bc55ad9d5d2d0259f6b3364a7bcb82b033
Tab.js: Fixes on click handling (#33586)

* use prevent default only if triggered by anchor
* disable auto-initialization if trigger is disabled
js/src/tab.js
js/tests/unit/tab.spec.js