Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Commit

Permalink
solve jquery deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Duarte Henriques committed Feb 22, 2014
1 parent b54806b commit 8c3b309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_analytical_fire_events.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var commands;

try {
commands = $.parseJSON(decodeURIComponent(($.cookie('analytical') || '').replace(/\+/g, '%20'))) || [];
commands = $.parseJSON(decodeURIComponent(($.cookie('analytical') || '').replace(/\+/g, '%20')) || '[]');
} catch(e) {
commands = [];
}
Expand Down

0 comments on commit 8c3b309

Please sign in to comment.