mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Load correct JS for the active Bootstrap version (#18120)
* Load correct JS for the active Bootstrap version * Tidy up bootstrapVersion declaration * Add Bootstrap JS to website redesign layout * FIx error on interstitial subscriptions page * Remove unnecessary import of jQuery and Bootstrap * Use global entrypointScripts in bootstrap-js mixin GitOrigin-RevId: 6b1977354a72dc69008fc0d2e3baec2f28d97f6b
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import 'jquery'
|
||||
import 'bootstrap'
|
||||
|
||||
$('[data-ol-lang-selector-tooltip]').tooltip({ trigger: 'hover' })
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
@@ -0,0 +1 @@
|
||||
import 'bootstrap-5'
|
||||
@@ -1,7 +1,5 @@
|
||||
import './utils/webpack-public-path'
|
||||
import './infrastructure/error-reporter'
|
||||
import 'jquery'
|
||||
import 'bootstrap'
|
||||
import './features/form-helpers/hydrate-form'
|
||||
import './features/form-helpers/password-visibility'
|
||||
import './features/link-helpers/slow-link'
|
||||
@@ -13,6 +11,3 @@ import './features/multi-submit'
|
||||
import './features/cookie-banner'
|
||||
import './features/autoplay-video'
|
||||
import './features/mathjax'
|
||||
|
||||
$('[data-ol-lang-selector-tooltip]').tooltip({ trigger: 'hover' })
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import 'jquery'
|
||||
import 'bootstrap'
|
||||
import './../utils/meta'
|
||||
import './../utils/webpack-public-path'
|
||||
import './../infrastructure/error-reporter'
|
||||
|
||||
Reference in New Issue
Block a user