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
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-12-15 11:41:31 +0300
committerGitHub <noreply@github.com>2021-12-15 11:41:31 +0300
commitd40fae456e0273c7e8c98cbdd17c55fd5d69ec47 (patch)
tree8cc8b289b013254f1f02d6c41703d4f5e658e2fe /js/src/popover.js
parentcd04fe015f9118930a86c678f034b5657878885a (diff)
Popover.js: Accept empty content through `data-bs-content` (#35514)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'js/src/popover.js')
-rw-r--r--js/src/popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/popover.js b/js/src/popover.js
index 375eb8b0ab..b62b6a2123 100644
--- a/js/src/popover.js
+++ b/js/src/popover.js
@@ -34,7 +34,7 @@ const Default = {
const DefaultType = {
...Tooltip.DefaultType,
- content: '(string|element|function)'
+ content: '(null|string|element|function)'
}
const Event = {