mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-10 16:22:27 +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 {
|
get currentId(): string {
|
||||||
return IS_BROWSER ? window.location.hash.substring(1) : '';
|
return IS_BROWSER ? decodeURIComponent(window.location.hash.substring(1)) : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
linkForId(id: string) {
|
linkForId(id: string) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user