mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
Rewritten modal without jquery (#23955)
* Trigger jquery events if available in event handler * Rewritten modal without jquery
This commit is contained in:
committed by
XhmikosR
parent
9f9712b98c
commit
33211eefdf
+1
-1
@@ -21,7 +21,7 @@ const mapData = (() => {
|
||||
id++
|
||||
},
|
||||
get(element, key) {
|
||||
if (typeof element.key === 'undefined') {
|
||||
if (typeof element === 'undefined' || typeof element.key === 'undefined') {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user