MyBB Community Forums

Full Version: MyBB, Bootstrap5 Modal JS Conflict?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to use bootstrap 5 in my theme, but I think, bootstrap js is conflicting with mybb js. Modals of MyBB don't work, I suppose because they use the same class "modal"? Is there an easy way to fix this without changing bootstrap or mybb core js files?
(2023-07-15, 04:37 PM)Xiraa Wrote: [ -> ]I am trying to use bootstrap 5 in my theme, but I think, bootstrap js is conflicting with mybb js. Modals of MyBB don't work, I suppose because they use the same class "modal"? Is there an easy way to fix this without changing bootstrap or mybb core js files?

Download the js package of bootstrap and rename the functions?
(2023-07-15, 05:51 PM)Eldamar Wrote: [ -> ]Download the js package of bootstrap and rename the functions?
Yes that works, Thats what I have done now, but I thought if there was a way to do this without changing bootstrap core files.