]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Dynamic tab should not show when triggered on `disabled` element (#33257)
authorPatrick H. Lauke <redux@splintered.co.uk>
Wed, 17 Mar 2021 08:52:40 +0000 (08:52 +0000)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 08:52:40 +0000 (10:52 +0200)
commit3ce0a8d3ecc05ac43fa5f5da0c5fc1aaea7742d5
tree401b22206ceef2f6701dc336edae13dd71726d82
parentb9f30903a5a916904c873bd078240b3df743e093
Dynamic tab should not show when triggered on `disabled` element (#33257)

* show() should bail if the trigger has `disabled` attribute

* use 'isDisabled' helper

Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/tab.js
js/tests/unit/tab.spec.js