remove dynamic equality

This commit is contained in:
2025-06-16 13:48:09 -05:00
parent 9c0565d34f
commit 794baf8598
70 changed files with 462 additions and 461 deletions

View File

@@ -18,7 +18,7 @@ var state = {
// Helper to calculate progress percentage
function get_progress() {
if (state.total_bytes === 0) {
if (state.total_bytes == 0) {
return 0;
}
return Math.round((state.downloaded_bytes / state.total_bytes) * 100);
@@ -150,7 +150,7 @@ function read_next_chunk() {
try {
var chunk = http.fetch_read_chunk(state.connection);
if (chunk === null) {
if (chunk == null) {
// Download complete
finish_download();
return;