1
0
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:
Johann-S
2017-10-23 09:35:27 +02:00
committed by XhmikosR
parent 0d71a8a738
commit 1487c3a994
14 changed files with 38 additions and 11 deletions

View File

@@ -154,6 +154,10 @@ const Util = (() => {
}
}
}
},
get jQuery() {
return window.jQuery || window.$
}
}