We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08bde97 commit e42c0d2Copy full SHA for e42c0d2
js/src/dom/manipulator.js
@@ -55,9 +55,9 @@ const Manipulator = {
55
}
56
57
const attributes = {}
58
- const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'))
+ const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreui') && !key.startsWith('coreuiConfig'))
59
60
- for (const key of bsKeys) {
+ for (const key of coreuiKeys) {
61
let pureKey = key.replace(/^coreui/, '')
62
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)
63
attributes[pureKey] = normalizeData(element.dataset[key])
0 commit comments