Compare commits

...

2 Commits

Author SHA1 Message Date
Matt Walsh
e87290ed5e 5.11.2 2024-04-19 21:10:52 -05:00
Matt Walsh
f4f3720793 fix stickiness for settings checkboxes close #39 2024-04-19 21:10:43 -05:00
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.1", "version": "5.11.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.1", "version": "5.11.2",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"del": "^6.0.0", "del": "^6.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "ws4kp", "name": "ws4kp",
"version": "5.11.1", "version": "5.11.2",
"description": "Welcome to the WeatherStar 4000+ project page!", "description": "Welcome to the WeatherStar 4000+ project page!",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@@ -10,6 +10,7 @@ class Setting {
this.defaultValue = defaultValue; this.defaultValue = defaultValue;
this.myValue = defaultValue; this.myValue = defaultValue;
this.type = type; this.type = type;
this.sticky = sticky;
// a default blank change function is provided // a default blank change function is provided
this.changeAction = changeAction ?? (() => { }); this.changeAction = changeAction ?? (() => { });