Skip to content

Commit 0b6bc59

Browse files
log widget type and size
1 parent 1b78477 commit 0b6bc59

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

β€Ždist/buzzwald-widget.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ždist/version.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"timestamp": 1753406781674
2+
"timestamp": 1753407002654
33
}

β€Žsrc/widget.jsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export class BuzzwaldWidget {
138138
// Validate custom size if size is 'custom'
139139
if (this.config.size === 'custom') {
140140
if (!this.config.customSize || typeof this.config.customSize !== 'number' || this.config.customSize < 40 || this.config.customSize > 300) {
141+
console.log('typeof customSize', typeof this.config.customSize);
141142
console.warn(`Buzzwald: Invalid custom size "${this.config.customSize}". Using default "medium"`);
142143
this.config.size = 'medium';
143144
this.config.customSize = null;

0 commit comments

Comments
Β (0)