mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
fix: deep linking sometimes not working when sent over messengers
This commit is contained in:
parent
3a74b745b1
commit
2491d970de
|
@ -13,7 +13,7 @@ export class HistoryService {
|
|||
}
|
||||
|
||||
get currentId(): string {
|
||||
return IS_BROWSER ? window.location.hash.substring(1) : '';
|
||||
return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';
|
||||
}
|
||||
|
||||
linkForId(id: string) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user