diff --git a/public/styleguide/js/styleguide.js b/public/styleguide/js/styleguide.js index c1278ee..0ac745c 100644 --- a/public/styleguide/js/styleguide.js +++ b/public/styleguide/js/styleguide.js @@ -449,7 +449,7 @@ if (!urlHandler.skipBack) { - if ((history.state === null) || (history.state.pattern !== event.data.patternpartial)) { + if ((history.state === undefined) || (history.state === null) || (history.state.pattern !== event.data.patternpartial)) { urlHandler.pushPattern(event.data.patternpartial, event.data.path); }