0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Bugfix for heatup change.

This commit is contained in:
Wouter R 2013-09-27 16:04:56 +02:00
parent f0df41bc89
commit a45d1ad8ed

View File

@ -83,8 +83,8 @@ $(function() {
}) })
function settingsLoaded() { function settingsLoaded() {
console.log("settingsLoaded"); console.log("settingsLoaded");
console.log("autoWarmUp: ",settings["printer.autoWarmUp"]); console.log("autoHeatup: ",settings["printer.heatup.enabled"]);
if(settings["printer.autoWarmUp"]) { if(settings["printer.heatup.enabled"]) {
if(firstTimesettingsLoaded) { if(firstTimesettingsLoaded) {
printer.preheat(); printer.preheat();
firstTimesettingsLoaded = false; firstTimesettingsLoaded = false;