aboutsummaryrefslogtreecommitdiff
path: root/js/src/tab.js
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2022-09-20 17:20:47 +0300
committerGitHub <[email protected]>2022-09-20 17:20:47 +0300
commit1510c25e9be4d8f7f2ba23622bfdfd9afebb6598 (patch)
tree4931d3d6150218179943387823fc8aad370030f8 /js/src/tab.js
parent2be9cd59bae8c864f6d2cfb03c535e96f00160ca (diff)
downloadbootstrap-1510c25e9be4d8f7f2ba23622bfdfd9afebb6598.tar.xz
bootstrap-1510c25e9be4d8f7f2ba23622bfdfd9afebb6598.zip
Drop tabs auto-focus (#37146)
* fix: drop tabs auto-focus
Diffstat (limited to 'js/src/tab.js')
-rw-r--r--js/src/tab.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/tab.js b/js/src/tab.js
index 91187ae9f..31dcec4a4 100644
--- a/js/src/tab.js
+++ b/js/src/tab.js
@@ -115,7 +115,6 @@ class Tab extends BaseComponent {
return
}
- element.focus()
element.removeAttribute('tabindex')
element.setAttribute('aria-selected', true)
this._toggleDropDown(element, true)