Permalink
Browse files

Replace *all* %20s

  • Loading branch information...
1 parent 305b45f commit d186120e07fc78f6aba23731e44ba9ceddc63de9 @mxcl committed Mar 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bs.js
View
@@ -7,7 +7,7 @@
x: function(y) {
if (y === null || y === undefined)
return '';
- return encodeURIComponent(y).replace('%20', '+');
+ return encodeURIComponent(y).replace(/%20/g, '+');
},
X: function(y) {
if (y === null || y === undefined)

0 comments on commit d186120

Please sign in to comment.