app/javascript/blacklight/modal.js in blacklight-8.2.0 vs app/javascript/blacklight/modal.js in blacklight-8.2.1
- old
+ new
@@ -50,10 +50,10 @@
One additional feature. If the content returned from the AJAX form submission
can be a turbo-stream that defines some HTML fragementsand where on the page to put them:
https://turbo.hotwired.dev/handbook/streams
*/
-import ModalForm from './modalForm.js'
+import ModalForm from 'blacklight/modalForm'
const Modal = (() => {
const modal = {}
// a Bootstrap modal div that should be already on the page hidden