mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
tslint
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user