Skip to content

Commit e42c0d2

Browse files
committed
fix: update prefix
1 parent 08bde97 commit e42c0d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/dom/manipulator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ const Manipulator = {
5555
}
5656

5757
const attributes = {}
58-
const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'))
58+
const coreuiKeys = Object.keys(element.dataset).filter(key => key.startsWith('coreui') && !key.startsWith('coreuiConfig'))
5959

60-
for (const key of bsKeys) {
60+
for (const key of coreuiKeys) {
6161
let pureKey = key.replace(/^coreui/, '')
6262
pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length)
6363
attributes[pureKey] = normalizeData(element.dataset[key])

0 commit comments

Comments
 (0)