Update app.js

Oops, shouldn't say return on a setter.
pull/1070/head
stephenPspackman 2021-12-12 15:08:55 -08:00 committed by GitHub
parent 14e221fbb1
commit d93ef10f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,9 +75,9 @@ class Options {
Object.defineProperty(this, k, {
get: () => this.backing[k],
set: v => {
this.backing[k] = v;
// Ten second writeback delay, since the user will roll values up and down.
this.writeBack(10000);
return this.backing[k] = v;
}
});
}