mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-29 06:49:06 +02:00
Add Util.jQuery
which will detect jQuery instead of relying on global $
(#24513)
This commit is contained in:
@@ -154,6 +154,10 @@ const Util = (() => {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
get jQuery() {
|
||||
return window.jQuery || window.$
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user