Remove debug statements.

This commit is contained in:
hackademix 2022-03-13 23:10:17 +01:00
parent 072c28e684
commit e3d4b80492
1 changed files with 1 additions and 2 deletions

View File

@ -727,12 +727,11 @@ var UI = (() => {
render(sites = this.sites, sorter = this.sorter) { render(sites = this.sites, sorter = this.sorter) {
let parentNode = this.parentNode; let parentNode = this.parentNode;
debug("Rendering %o inside %o", sites, parentNode);
if (sites) this._populate(sites, sorter); if (sites) this._populate(sites, sorter);
parentNode.innerHTML = ""; parentNode.innerHTML = "";
parentNode.appendChild(this.fragment); parentNode.appendChild(this.fragment);
let root = parentNode.querySelector("table.sites"); let root = parentNode.querySelector("table.sites");
debug("Wiring", root);
if (!root.wiredBy) { if (!root.wiredBy) {
root.addEventListener("keydown", e => this._keyNavHandler(e), true); root.addEventListener("keydown", e => this._keyNavHandler(e), true);
root.addEventListener("keyup", e => { root.addEventListener("keyup", e => {