diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-04-14 08:29:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 08:29:57 +0300 |
commit | dd777952fe3a01b638a0c83533cf0cbd18e8914b (patch) | |
tree | 6ee7f4db08232ba322ed888fb29fa44e90fca43d | |
parent | c4655b958279209013523ed3d572d729934472d5 (diff) |
Update manipulator.jsgs/parse-json-config
-rw-r--r-- | js/src/dom/manipulator.js | 1 |
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) |