diff --git a/src/js/oCrossword.js b/src/js/oCrossword.js index c567ab8..07a93b7 100644 --- a/src/js/oCrossword.js +++ b/src/js/oCrossword.js @@ -26,9 +26,7 @@ function buildGrid( answers }) { const gridEl = rootEl.querySelector('table'); - gridEl.innerHTML = ""; const cluesEl = rootEl.querySelector('ul.o-crossword-clues') - cluesEl.innerHTML = ""; const {cols, rows} = size; for (let i=0; i buildGrid(rootEl, json)) .then(() => this.assemble() ); } - } else { - this.assemble(); } } }