Permalink
Browse files

FIX: IE8 support in jquery.ondemand.js (fixes #2872)

  • Loading branch information...
1 parent 0f1ae75 commit a681bd7bd23ae5e31375abc71d4c6d405e0da4db @kinglozzer kinglozzer committed Feb 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/jquery-ondemand/jquery.ondemand.js
@@ -16,7 +16,7 @@
(function($){
var decodePath = function(str) {
- return str.replace(/%2C/g,',').replace(/\&/g, '&').trim();
+ return str.replace(/%2C/g,',').replace(/\&/g, '&').replace(/^\s+|\s+$/g, '');
};
$.extend({

0 comments on commit a681bd7

Please sign in to comment.