mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-14 19:40:54 -05:00
0886104862
Load correct JS for the active Bootstrap version, second attempt GitOrigin-RevId: ad8748a941691d745db5cd3e986e9c7b188b3ecb
3 lines
189 B
Text
3 lines
189 B
Text
mixin bootstrap-js(bootstrapVersion)
|
|
each file in (entrypointScripts(bootstrapVersion === 5 ? 'bootstrap-5' : 'bootstrap-3'))
|
|
script(type="text/javascript", nonce=scriptNonce, src=file)
|