From 265cc954c6bc5e2f869a6d422e2404e00c632c32 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Thu, 16 Mar 2017 10:51:36 +0100 Subject: [PATCH] Fix jQuery version Draggable.js is not compatible with jQuery >= 3 which means that several UI elements are broken, but jquery-rails ships with jQuery >= 3 by default now. This patch makes OSEM use jQuery 2 again, so that Draggable.js works again. --- app/assets/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 01cb83ee..afef2967 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -10,7 +10,7 @@ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // -//= require jquery +//= require jquery2 //= require jquery_ujs //= require jquery.mobile.custom.min //= require jquery.ui.draggable