mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
fix(Player): replace history entry
- fix for the navigation
This commit is contained in:
parent
17312f64fd
commit
b51791baa0
1 changed files with 2 additions and 2 deletions
|
|
@ -106,11 +106,11 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
const handleNextVideoNavigation = React.useCallback((deepLinks) => {
|
||||
if (deepLinks.player) {
|
||||
isNavigating.current = true;
|
||||
window.location.href = deepLinks.player;
|
||||
window.location.replace(deepLinks.player);
|
||||
return true;
|
||||
} else if (deepLinks.metaDetailsStreams) {
|
||||
isNavigating.current = true;
|
||||
window.location.href = deepLinks.metaDetailsStreams;
|
||||
window.location.replace(deepLinks.metaDetailsStreams);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue