Skip to content

Commit

Permalink
Update bytebeat.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
GFLJS2100-user authored Dec 4, 2024
1 parent 1d0495f commit 6c0f9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bytebeat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ globalThis.bytebeat = new class {
this.setCounterValue(this.byteSample);
}
setCodeSize(value) {
this.controlCodeSize.textContent = `${this.formatBytes(new Blob([value]).size)} (${this.formatBytes(new Blob([String(window.location)]))})`;
this.controlCodeSize.textContent = `${this.formatBytes(new Blob([value]).size)} (${new Blob([this.formatBytes(String(window.location))])})`;
}
setCounterValue(value) {
this.controlTime.value = this.settings.isSeconds ?
Expand Down

0 comments on commit 6c0f9c2

Please sign in to comment.