diff --git a/assets/main.js b/assets/main.js index cd42279..4a24c92 100644 --- a/assets/main.js +++ b/assets/main.js @@ -108,10 +108,10 @@ class LineEditor extends Button { done() { this.setAttribute("title", "edit line text"); this.editing = false; - this.innerText = "E"; this.linetext.innerText = this.i.value; this.f.remove(); this.linetext.style.display = "block"; + this.style['font-weight'] = ""; this.dispatchEvent(edited); } click() { @@ -121,7 +121,7 @@ class LineEditor extends Button { } this.editing = true; this.setAttribute("title", "finish editing"); - this.innerHTML = "✓"; + this.style['font-weight'] = "bold"; const l = this.linetext.parentElement; this.linetext.style.display = "none"; this.i.value = this.linetext.innerText; diff --git a/templates/index.tmpl b/templates/index.tmpl index 962d84c..d672c7e 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -115,7 +115,7 @@ a {