Skip to content

Commit

Permalink
revert non-essential changes
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Oct 9, 2024
1 parent e8aed33 commit c23bafc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/developer-mode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function updateURL() {
}
}

if (params.measurementMethod !== defaultParams.measurementMethod)
if (params.measurementMethod !== "raf")
url.searchParams.set("measurementMethod", "timer");
else
url.searchParams.delete("measurementMethod");
Expand Down
6 changes: 3 additions & 3 deletions resources/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class MainBenchmarkClient {
this._showSection(window.location.hash);
}

async start() {
if (await this._startBenchmark())
start() {
if (this._startBenchmark())
this._showSection("#running");
}

async _startBenchmark() {
_startBenchmark() {
if (this._isRunning)
return false;

Expand Down

0 comments on commit c23bafc

Please sign in to comment.