Skip to content

Commit

Permalink
Remove speed from url
Browse files Browse the repository at this point in the history
  • Loading branch information
GniLudio committed May 24, 2024
1 parent c14ff39 commit 3bc3627
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ let speed = parseFloat(urlParameter.get("speed") ?? "-1") ?? -1;
if (performance.navigation?.type == window.performance.navigation?.TYPE_RELOAD || speed < 0) {
speed = 1;
}
updateURLParameter('speed', speed.toString());
console.log('Speed', speed);
/**
* The time that has passed since the start. (in seconds)
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ let speed: number = parseFloat(urlParameter.get("speed") ?? "-1") ?? -1;
if (performance.navigation?.type == window.performance.navigation?.TYPE_RELOAD || speed < 0) {
speed = 1;
}
updateURLParameter('speed', speed.toString());
console.log('Speed', speed);

/**
Expand Down

0 comments on commit 3bc3627

Please sign in to comment.