Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@
const bytes = new Uint8Array(DATA_SIZE);
for await (const chunk of streamToAsyncIterable(resp.body)) {
if (Math.floor(responseSize/DATA_SIZE*100) < Math.floor((responseSize+chunk.length)/DATA_SIZE*100))
startBtn.innerText = `Xikipedia is loading... (${Math.floor(responseSize/DATA_SIZE*100)}% of 40MB loaded)`;
startBtn.innerText = `Xikipedia is loading...<br />(${Math.floor(responseSize/DATA_SIZE*100)}% of 40MB loaded)`;
bytes.set(chunk, responseSize);
responseSize += chunk.length;
}
Expand Down