diff --git a/assets/js/public.js b/assets/js/public.js index 2e10d99..dd4cee0 100644 --- a/assets/js/public.js +++ b/assets/js/public.js @@ -1,3 +1,6 @@ +// Include phoenix_html to handle method=PUT/DELETE in forms and buttons. +import "phoenix_html" + import lolight from "../vendor/lolight" import GLightbox from 'glightbox' @@ -17,4 +20,4 @@ document } }) -const lightbox = GLightbox({ selector: ".lightbox" }) \ No newline at end of file +GLightbox({ selector: ".lightbox" }) \ No newline at end of file