diff --git a/app/views/application/_analytical_fire_events.html.erb b/app/views/application/_analytical_fire_events.html.erb index 23a0f9e..5ac358c 100644 --- a/app/views/application/_analytical_fire_events.html.erb +++ b/app/views/application/_analytical_fire_events.html.erb @@ -2,7 +2,7 @@ var commands; try { - commands = $.parseJSON(($.cookie('analytical') || '').replace(/\+/g, ' ')) || []; + commands = $.parseJSON(decodeURIComponent(($.cookie('analytical') || '').replace(/\+/g, '%20'))) || []; } catch(e) { commands = []; }