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:
authorXhmikosR <xhmikosr@gmail.com>2022-04-14 08:29:57 +0300
committerGitHub <noreply@github.com>2022-04-14 08:29:57 +0300
commitdd777952fe3a01b638a0c83533cf0cbd18e8914b (patch)
tree6ee7f4db08232ba322ed888fb29fa44e90fca43d
parentc4655b958279209013523ed3d572d729934472d5 (diff)
Update manipulator.jsgs/parse-json-config
-rw-r--r--js/src/dom/manipulator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/dom/manipulator.js b/js/src/dom/manipulator.js
index 4a843336b1..2d96d65fc8 100644
--- a/js/src/dom/manipulator.js
+++ b/js/src/dom/manipulator.js
@@ -53,6 +53,7 @@ const Manipulator = {
const attributes = {}
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'))
+
for (const key of bsKeys) {
let pureKey = key.replace(/^bs/, '')
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)