We have a custom theme for discourse that we have not modified in months. Recently, the modals have stopped opening and we get an error of:
Uncaught TypeError: $(...).modal is not a function didInsertElement d-modal-body.js:31
Removing the custom theme fixes it.
Our theme does not specifically modify anything to do with modals, as far as I can tell. The latest changes done by Discourse to the file that is throwing an error is here:
But it doesn’t look like something that would have dire consequences to custom themes.
Once again, nothing has changed on our theme, so there is something in our theme that is not compatible with recent changes in Discourse.
Our theme code is stored here: GitHub - RebusFoundation/discourse-rebus-theme
Does anyone have a clue of what could cause that problem?