diff --git a/javascript/jquery-ondemand/jquery.ondemand.js b/javascript/jquery-ondemand/jquery.ondemand.js index cbe6529df..e5ff5fcf8 100644 --- a/javascript/jquery-ondemand/jquery.ondemand.js +++ b/javascript/jquery-ondemand/jquery.ondemand.js @@ -16,7 +16,7 @@ (function($){ var decodePath = function(str) { - return str.replace(/%2C/g,',').replace(/\&/g, '&'); + return str.replace(/%2C/g,',').replace(/\&/g, '&').trim(); }; $.extend({