tweaked filling in default values

pull/95/head
jmoenig 2020-06-19 18:34:45 +02:00
rodzic f9ee5b0df3
commit 625a99e7f0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3234,7 +3234,7 @@ BlockMorph.prototype.setSelector = function (aSelector, inputOffset = 0) {
slots[0].defaults = this.defaults;
} else {
for (i = 0; i < this.defaults.length; i += 1) {
if (this.defaults[i] !== null) {
if (this.defaults[i] !== null && slots[i].setContents) {
slots[i].setContents(this.defaults[i]);
}
}