Bootstrap model not working

We have some pop-up models coded in our page that use bootstrap model code and these stopped working. The error we see is below:

bootstrap.min.js?ver=3.3.7:11 Uncaught TypeError: this.$backdrop.one(...).emulateTransitionEnd is not a function at o.backdrop (bootstrap.min.js?ver=3.3.7:11) at o.show (bootstrap.min.js?ver=3.3.7:11) at HTMLDivElement.<anonymous> (bootstrap.min.js?ver=3.3.7:11) at Function.each (jquery.js?ver=1.12.4:2) at a.fn.init.each (jquery.js?ver=1.12.4:2) at a.fn.init.e \[as modal\] (bootstrap.min.js?ver=3.3.7:11) at HTMLAnchorElement. (bootstrap.min.js?ver=3.3.7:11) at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3) at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3) Not sure when this happened. The code that should initiate the popup is: <a class="btn btn-primary btn-lg" href="#modalHotelsGambling" data-toggle="modal" style="outline: none;"><img class="alignbottom wp-image-2128" src="/images/button_2128.png" alt="button_ibb_active" width="24" height="12"></a> The modal code is: <div id="modalHotelsGambling" class="modal fade" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"><button class="close" type="button" data-dismiss="modal">×</button></div> <div class="modal-body"><img src="/wp-content/uploads/Gambling.png"></div> </div> <p><!-- /.modal-content --></p> </div> <p><!-- /.modal-dialog --></p> </div>

Hi @solarwoods,

Thanks for reaching out.

Based on the error, the function required for it to work isn’t available. Which means your bootstrap library isn’t loaded, I recommend checking that part if it’s customization related. Unfortunately, I can’t provide further recommendation since this isn’t part of the theme’s feature.

Thanks!

Thanks. I realized that I should have looked at the plugin first. Turns out it hasn’t been updated in a year so it’s a compatibility issue with the plugin. I found the Convert Plus X Add-On and I was able to get this to work for me with a little tweaking.

Hey @solarwoods,

Yes ConvertPlus extension is a best alternate and it comes with X so you won’t face any compatibility issues if you’re all updated. You can learn more about ConvertPlus extension here https://theme.co/apex/forum/t/extension-convertplus/66

We’re glad you’ve sorted it out. Cheers!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.