Skip to content

Commit

Permalink
index.html: Actually use storeInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
crnkjck committed Mar 12, 2023
1 parent 76a3593 commit a05ea37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
app.ports.onPrint.subscribe(function () {
window.print();
});
var storeInterval = 10000;
var storeInterval = 5000;
var storeTimeout = null;
app.ports.onStore.subscribe(function (tableau) {
// console.log("Storing the tableau and clearing the timeout");
Expand All @@ -37,7 +37,7 @@
// console.log("Triggering store");
app.ports.storeTrigger.send(null);
},
10000
storeInterval
);
// console.log("Set timeout", storeTimeout);
}
Expand Down

0 comments on commit a05ea37

Please sign in to comment.