diff options
Diffstat (limited to 'zalmy.es')
-rw-r--r-- | zalmy.es | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -14,9 +14,7 @@ export class Psalm extends ActivePage // If this.cur_section has not been initialized yet, do it if (!this.cur_section) { var storedStr = localStorage.getItem("curPsalm"); - console.log('storedStr = ' + storedStr); var stored = JSON.parse(storedStr); - console.log('stored = ' + stored); if ((stored == null) || (stored < 1) || (stored > 150)) { this.cur_section = 1; localStorage.setItem("curPsalm", JSON.stringify(this.cur_section)); @@ -57,7 +55,6 @@ export class Psalm extends ActivePage display() { super.display(); - console.log("cur_psalm = " + this.cur_psalm); let psalm_id = `Ps.${this.cur_psalm}`; console.log(`psalm_id = ${psalm_id}`); document.getElementById(psalm_id).parentElement. @@ -67,12 +64,10 @@ export class Psalm extends ActivePage // We have to override activePage’s next() and prev() methods to call // this.cur_psalm setter whcih does actual refresh of the page. next() { - console.log("Next!"); this.cur_psalm += 1; } prev() { - console.log("Previous!"); this.cur_psalm -= 1; } |