You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This specific issue is related to moving the bootstrap tooltip initialization code,
$(document).on('turbolinks:load', function() {
$('[data-toggle="tooltip"]').tooltip();
})
In the header comment of app/assets/javascripts/application.js, we are instructed by the boilerplate to not place any code within the file, yet there is javascript code within the file. This issue is one of a handful for separating out individual javascript code into its own files and including them in the application.js file.
some-function should be moved into its own file within app/assets/javascripts, perhaps as app/assets/javascripts/some-function.js. Then, within application.js, we need to require that new file with: //= require some-function
The text was updated successfully, but these errors were encountered:
This specific issue is related to moving the bootstrap tooltip initialization code,
$(document).on('turbolinks:load', function() {
$('[data-toggle="tooltip"]').tooltip();
})
The text was updated successfully, but these errors were encountered: