We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8235f04 commit 8a7d1a9Copy full SHA for 8a7d1a9
Scripts/birthday.js
@@ -303,9 +303,9 @@ class Widget extends DmYY {
303
};
304
305
init = async () => {
306
- widthMode = this.settings.avatarWidth || widthMode;
307
- heightMode = this.settings.avatarHeight || heightMode;
308
- mainTextSize = this.settings.mainTextSize || mainTextSize;
+ widthMode = Number(this.settings.avatarWidth) || widthMode;
+ heightMode = Number(this.settings.avatarHeight) || heightMode;
+ mainTextSize = Number(this.settings.mainTextSize) || mainTextSize;
309
310
await this.FILE_MGR.fileExistsExtra(this.LEFT_IMG_KEY);
311
this.defaultData = {
0 commit comments