This commit is contained in:
Alex Dima
2016-02-05 11:25:56 +01:00
parent 202a726e54
commit e2e8c2a34d
35 changed files with 184 additions and 150 deletions

View File

@@ -75,7 +75,7 @@ let _disablePushState = false;
*/
export function canPushState() {
return (!_disablePushState && globals.history && globals.history.pushState);
};
}
/**
* Helpful when we detect that pushing state does not work for some reason (e.g. FF prevents pushState for security reasons in some cases)