Skip to content

Commit

Permalink
Merge pull request #3466 from projectblacklight/import-modal-form
Browse files Browse the repository at this point in the history
[8.x] Import and export modalForm.js so it is included in the rollup build
  • Loading branch information
christinach authored Dec 10, 2024
2 parents 2704892 + d7b5cb1 commit bf9510a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/javascript/blacklight/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import BookmarkToggle from 'blacklight/bookmark_toggle'
import ButtonFocus from 'blacklight/button_focus'
import Modal from 'blacklight/modal'
import ModalForm from 'blacklight/modalForm'
import SearchContext from 'blacklight/search_context'
import Core from 'blacklight/core'

export default {
BookmarkToggle,
ButtonFocus,
Modal,
ModalForm,
SearchContext,
Core,
onLoad: Core.onLoad
Expand Down
1 change: 0 additions & 1 deletion app/javascript/blacklight/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
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 'blacklight/modalForm'

const Modal = (() => {
const modal = {}
Expand Down

0 comments on commit bf9510a

Please sign in to comment.