From afaadff832a2b9f2b2aea0efac13d2d278fc9986 Mon Sep 17 00:00:00 2001 From: Alexander Lang Date: Tue, 17 Dec 2024 14:27:11 +0100 Subject: [PATCH] make jquery available globally for now --- app/assets/javascripts/comfy/admin/cms/application.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/comfy/admin/cms/application.js b/app/assets/javascripts/comfy/admin/cms/application.js index e63ff28a..0dcbbfd0 100644 --- a/app/assets/javascripts/comfy/admin/cms/application.js +++ b/app/assets/javascripts/comfy/admin/cms/application.js @@ -1,5 +1,6 @@ import "@rails/ujs"; -import "jquery"; +import jQUery from "jquery"; +window.jQuery = jQUery; // Make jQuery available in global scope import "../../vendor/sortable.min"; import "../../vendor/bootstrap.bundle.min";