New Year revamp #40

Merged
FrederikBaerentsen merged 31 commits from gregoo/BrickTracker:master into master 2025-01-19 08:19:01 +01:00
Showing only changes of commit 5fa51c21a9 - Show all commits

View File

@ -40,7 +40,7 @@ class BrickSocket {
if (this.html_button) { if (this.html_button) {
this.add_listener = ((bricksocket) => (e) => { this.add_listener = ((bricksocket) => (e) => {
if (!bricksocket.disabled) { if (!bricksocket.disabled && bricksocket.socket !== undefined && bricksocket.socket.connected) {
bricksocket.toggle(false); bricksocket.toggle(false);
// Split and save the list if bulk // Split and save the list if bulk