diff --git a/mccs-it/thermal/public/index.html b/mccs-it/thermal/public/index.html
index 4940e13..cf47ec2 100644
--- a/mccs-it/thermal/public/index.html
+++ b/mccs-it/thermal/public/index.html
@@ -145,7 +145,6 @@
throw new Error('Failed to send print request');
}
})
- .then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 100);
});
@@ -193,7 +192,6 @@
throw new Error('Failed to send print request');
}
})
- .then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 100);
});
@@ -211,14 +209,6 @@
password: password
}),
})
- .then(response => {
- if (response.ok) {
- return response.text(); // or .json() if your server returns JSON
- } else {
- throw new Error('Failed to send print request');
- }
- })
- .then(message => alert(message))
.catch(error => alert('Error: ' + error));
setTimeout(loadPDF, 100);
});