From 6dd85d6c3956751b5089aef20cb7d1737f82ad6c Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 14 Jun 2017 09:45:49 +0200 Subject: [PATCH] fixes drag'n drop bug in results on safari [fixes SCI-1370] --- app/assets/javascripts/sitewide/drag_n_drop.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/sitewide/drag_n_drop.js.erb b/app/assets/javascripts/sitewide/drag_n_drop.js.erb index f53fa1adf..0f1c62068 100644 --- a/app/assets/javascripts/sitewide/drag_n_drop.js.erb +++ b/app/assets/javascripts/sitewide/drag_n_drop.js.erb @@ -167,7 +167,7 @@ var fd = new FormData(); var result_names = []; - $.each($('input[rel="results[name]"'), function() { + $.each($('input[rel="results[name]"]'), function() { result_names.push($(this).val()); }); result_names.reverse();