Skip to content

update main.js - tooltip - data toggle attribute#115

Open
pepperstreet wants to merge 1 commit intoJoomShaper:masterfrom
pepperstreet:patch-1
Open

update main.js - tooltip - data toggle attribute#115
pepperstreet wants to merge 1 commit intoJoomShaper:masterfrom
pepperstreet:patch-1

Conversation

@pepperstreet
Copy link

@pepperstreet pepperstreet commented Nov 6, 2022

Since Helix3 has been upgraded to Bootstrap v5, it needs the correct data toggle for the tooltip initialization. data-bs-toggle

But I am totally confused about your Helix3 overrides and the main.js
For instance the BLOG overrides (meta data above articles) have a ToolTip display.
But they use the "older" Bootstrap3 syntax for the attributes!?

Is this on purpose?
Why does it work anyway?

Since you have switched to Bootstrap v5, shouldn't it be used in all places? Including your overrides and layouts etc. ?
Sure, I see the tedious work. If you would change the initialization script in main.js, you end up with changing all occurrences in every single override ;)

Looks like a Chicken-Egg-Situation?

Since Helix3 has been upgraded to Bootstrap v5, it needs the correct data toggle for the tooltip initialization. 
data-bs-toggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant