diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml
index f30fad3d3..6e0106267 100644
--- a/.idea/jsLibraryMappings.xml
+++ b/.idea/jsLibraryMappings.xml
@@ -1,7 +1,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/osm_rewrite.iml b/.idea/osm_rewrite.iml
index 767f5fc7e..03e8bf2c8 100644
--- a/.idea/osm_rewrite.iml
+++ b/.idea/osm_rewrite.iml
@@ -95,5 +95,6 @@
+
\ No newline at end of file
diff --git a/package.json b/package.json
index 5e22c8591..864832652 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
"dependencies": {
"@inertiajs/inertia": "^0.10.0",
"@maicol07/inertia-mithril": "^0.3.3",
+ "jquery": "^3.6.0",
"mithril": "^2.0.4"
},
"devDependencies": {
diff --git a/resources/js/app.js b/resources/js/app.js
index b039938fb..36aab1444 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -1,6 +1,9 @@
+import jQuery from 'jquery';
import m from 'mithril';
import {createInertiaApp} from '@maicol07/inertia-mithril';
+global.$ = jQuery;
+global.jQuery = jQuery;
global.m = m;
// noinspection JSIgnoredPromiseFromCall