diff options
Diffstat (limited to 'zalmy.es')
-rw-r--r-- | zalmy.es | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -55,15 +55,9 @@ export class Psalm extends ActivePage * Displays the particular Psalm */ display() { - // first scroll then switch to avoid blinking of the page - window.scroll(0, 0); + super.display(); - var visibleElems = document.getElementsByClassName("visible"); - Array.prototype.forEach.call(visibleElems, function(e) { - e.classList.remove("visible"); - }); 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. |