Retrospring/app/javascript/packs/legacy.coffee

14 lines
277 B
CoffeeScript

import 'core-js/stable'
import 'regenerator-runtime/runtime'
import '../legacy/jquery'
import 'popper.js'
import 'bootstrap'
_ready = ->
$('[data-toggle="tooltip"]').tooltip()
$('.dropdown-toggle').dropdown()
$(document).ready _ready
$(document).on 'turbo:load', _ready