mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
fix(carousel): on load page create a carousel
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ const Data = (() => {
|
||||
storeData[element.key.id] = data
|
||||
},
|
||||
get(element, key) {
|
||||
if (typeof element === 'undefined' || typeof element.key === 'undefined') {
|
||||
if (!element || typeof element.key === 'undefined') {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user