diff --git a/source/components/index.html b/source/components/index.html index a81f9750a51..6278af8d5f4 100644 --- a/source/components/index.html +++ b/source/components/index.html @@ -147,7 +147,7 @@ allComponents.pop(); // remove placeholder element at the end var data = { components: [], image: function () { - if(this.logo === '') { + if (this.logo === '') { return ''; } else { return ''; @@ -216,8 +216,8 @@ allComponents.pop(); // remove placeholder element at the end * update the browser location hash. This enables users to use the browser-history */ function updateHash(newHash) { - if ('replaceState' in history) { - history.replaceState('', '', newHash); + if ('pushState' in history) { + history.pushState('', '', newHash); } else { location.hash = newHash; }