Remove debug statements.
This commit is contained in:
parent
072c28e684
commit
e3d4b80492
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue