Tooltip on versions dropdown not working only on the archives page 🤔
We recently added a tooltip on the versions dropdown menu, and I just noticed that it doesn't work only on the archives page (which is generated by a different layout):
Default layout | Archives layout |
---|---|
![]() |
![]() |
The archives layout has all the libraries the default has:
- jQuery
- Bootstrap JS
- Boostrap CSS
I tried to solve this by adding the opt-in script recommended by Bootstrap with no luck:
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
Tried other hacks, but none of them worked.
Could this be related to https://gitlab.com/gitlab-com/gitlab-docs/issues/253?
@iamphill ideas?