Skip to content

Commit

Permalink
Merge branch 'improve_demo' into functional_websocket_declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Mar 11, 2024
2 parents 8493fc8 + 9426dc5 commit 3df8e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tqdm_publisher/_demo/_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ <h1>tqdm_progress</h1>
</header>

<!-- Declare a container to hold the progress bars -->
<div id="bars"></div>
<div id="bars"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion src/tqdm_publisher/_demo/_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ProgressClient {
this.socket = new WebSocket('ws://localhost:8000');
this.socket.addEventListener('open', onopen);

// Attemp to reconnect every second if the connection is closed
// Attempt to reconnect every second if the connection is closed
this.socket.addEventListener('close', () => {
onclose();
setTimeout(() => this.#connect(props), 1000);
Expand Down

0 comments on commit 3df8e01

Please sign in to comment.