Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authoralpadev <2838324+alpadev@users.noreply.github.com>2021-04-18 09:01:23 +0300
committerGitHub <noreply@github.com>2021-04-18 09:01:23 +0300
commit6d312b37c264ac1e4ac244674e6fe700e75f6aa2 (patch)
tree4d3b7802d9235b7335e63dd8b93ed840964fc995 /js/src
parent7eadf73f03eeb51160a455c6438a9ec16ad107a4 (diff)
fix: clicking an item in navbar dropdown collapses the dropdown in firefox (#33643)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index c314cbcddf..2fc2cde21b 100644
--- a/js/src/dropdown.js
+++ b/js/src/dropdown.js
@@ -415,7 +415,7 @@ class Dropdown extends BaseComponent {
return
}
- if (/input|select|textarea|form/i.test(event.target.tagName)) {
+ if (/input|select|option|textarea|form/i.test(event.target.tagName)) {
return
}
}