Using the tab javascript plugin: doc's 4.6 markup works. 4.5 does not. (I'm loading 4.5.3) #39478
-
My site is loading boostrap 4.5.3. But, when testing with the 4.5 docs example, it doesn't switch tab content. However, if I use the markup in the 4.6 docs example it works. Is this an error in the docs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out, in the 4.5 version, href=#idname is used. My server or something is prepending a path to the page to the href value. Because of this, the target tab content no longer matches. 4.6 syntax doesn't have this problem because it is using data-target, not href. |
Beta Was this translation helpful? Give feedback.
It turns out, in the 4.5 version, href=#idname is used. My server or something is prepending a path to the page to the href value. Because of this, the target tab content no longer matches. 4.6 syntax doesn't have this problem because it is using data-target, not href.