]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Dynamic tabs: use buttons rather than links (backport to v4) (#33163)
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 24 May 2022 18:16:58 +0000 (19:16 +0100)
committerGitHub <noreply@github.com>
Tue, 24 May 2022 18:16:58 +0000 (11:16 -0700)
commit7d57d9a68bbc2bc703fbf2c66fd2ad2546d67557
treea4469e1c287dd77120277ad6a3a327bc3ffce6c4
parente4dc2e91a5fd555595f6a16d58699917ab3e24e4
Dynamic tabs: use buttons rather than links (backport to v4) (#33163)

* Manually backport 32630

Dynamic tabs: use buttons rather than links

* Tweak unit test

* Tweak unit tests

* More tweakage

* show() should also bail if `disabled` attribute is set

* Tweak tests

* Simplify test for relatedTarget

* Temporarily remove problematic test

(as i can't get local tests to run just noww)

* Revert previous

* test: fix broken test cases for tab.js

* test: fix role=tablist invalid on nav element

* test: prefer <div/> over <div></div>

* Manually backport 32630

Dynamic tabs: use buttons rather than links

* test: fix broken test cases for tab.js

* Fixes

* Remove and ignore lock file

Co-authored-by: alpadev <alpa.muc@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
.gitignore
js/src/tab.js
js/tests/unit/tab.js
js/tests/visual/tab.html
scss/_nav.scss
site/content/docs/4.6/components/navs.md