diff --git a/src/js/app/services.js b/src/js/app/services.js index 62ca170..9bf6f9f 100644 --- a/src/js/app/services.js +++ b/src/js/app/services.js @@ -9,7 +9,7 @@ app.set('hash', function () { return { encodeHash: function(string) { - return encodeURI(string.trim()).replace(/\s/g,','); + return encodeURI(string.trim().replace(/\s/g,',')); }, decodeHash: function(hashValue) { return decodeURI(hashValue).replace(/^\#/, '').replace(/,/g,' ');