Skip to content

Commit 9880cc9

Browse files
authored
Merge pull request #3467 from projectblacklight/import-modal-form-main
[main] Import and export modalForm.js so it is included in the rollup build
2 parents 5e8327c + 56a23ca commit 9880cc9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/javascript/blacklight-frontend/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import BookmarkToggle from 'blacklight-frontend/bookmark_toggle'
22
import ButtonFocus from 'blacklight-frontend/button_focus'
33
import FacetSuggest from 'blacklight-frontend/facet_suggest'
44
import Modal from 'blacklight-frontend/modal'
5+
import ModalForm from 'blacklight-frontend/modalForm'
56
import SearchContext from 'blacklight-frontend/search_context'
67
import Core from 'blacklight-frontend/core'
78

@@ -10,6 +11,7 @@ export default {
1011
ButtonFocus,
1112
FacetSuggest,
1213
Modal,
14+
ModalForm,
1315
SearchContext,
1416
Core,
1517
onLoad: Core.onLoad

app/javascript/blacklight-frontend/modal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
can be a turbo-stream that defines some HTML fragementsand where on the page to put them:
5353
https://turbo.hotwired.dev/handbook/streams
5454
*/
55-
import ModalForm from 'blacklight-frontend/modalForm'
5655

5756
const Modal = (() => {
5857
const modal = {}

0 commit comments

Comments
 (0)