1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-29 11:59:16 +01:00

fixing history bug in FF

This commit is contained in:
Dave Olsen 2014-01-23 15:38:43 -05:00
parent 072177ae24
commit f7efa477d2

View File

@ -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);
}