get rid of useless log
This commit is contained in:
parent
d828abe2ff
commit
890eee4b8e
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ class MarkDown {
|
||||||
const html = this.makeHTML({keep: true});
|
const html = this.makeHTML({keep: true});
|
||||||
//TODO this may be slow, may want to check in on this in the future if it is
|
//TODO this may be slow, may want to check in on this in the future if it is
|
||||||
if (!box.hasChildNodes() || html.isEqualNode(Array.from(box.childNodes)[0])) {
|
if (!box.hasChildNodes() || html.isEqualNode(Array.from(box.childNodes)[0])) {
|
||||||
console.log("no replace needed");
|
//console.log("no replace needed");
|
||||||
} else {
|
} else {
|
||||||
box.innerHTML = "";
|
box.innerHTML = "";
|
||||||
box.append(html);
|
box.append(html);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue