Fix bugs in 7.1% of all lines of code
This commit is contained in:
parent
ddd996088b
commit
d978f1b594
@ -2,7 +2,7 @@ class GapCard extends HTMLElement {
|
||||
|
||||
setConfig(config) {
|
||||
this.height = ('height' in config) ? config.height : 50;
|
||||
this.size = ('size' in config) ? config.size : Math.ceil(this.size/50);
|
||||
this.size = ('size' in config) ? config.size : Math.ceil(this.height/50);
|
||||
this.style.setProperty('height', this.height + 'px');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user