virtual-keypad 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/receiver.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virtual-keypad",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "User response at a distance. Simple utility to summon forth a virtual keypad webapp.",
5
5
  "main": "dist/main.js",
6
6
  "directories": {
package/src/receiver.js CHANGED
@@ -37,7 +37,7 @@ class Receiver extends KeypadPeer {
37
37
 
38
38
  // Update font
39
39
  // TODO check if the font is supported, somehow
40
- this.font ??= font; // Store new font
40
+ this.font = font ?? this.font; // Store new font
41
41
 
42
42
  // Update keypad
43
43
  try {