This commit is contained in:
Ian Gulliver
2019-07-13 05:06:48 +00:00
parent a93e3dc2f6
commit cbe56098da
6 changed files with 5 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ class Grid {
addEventListener('resize', (e) => { this.onResize(e); });
}
onResize(e) {
onResize() {
this.fixSizes();
}
@@ -135,7 +135,7 @@ class Grid {
node.style.gridRow = pos[1] + 1;
this.toSize_.push(node);
node.addEventListener('click', (e) => {
node.addEventListener('click', () => {
let editorElem = document.getElementById(id);
editorElem.classList.toggle('highlight');
editorElem.setAttribute('data-arch-refresh', '');