diff options
Diffstat (limited to 'zalmy.ts')
-rw-r--r-- | zalmy.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,9 +60,10 @@ export class Psalm extends ap.ActivePage { */ display(disp_no: number = this.cur_psalm) { console.log("cur_psalm = " + disp_no); + // first scroll then switch to avoid blinking of the page + window.scroll(0, 0); document.getElementById("Ps." + disp_no).parentElement. classList.add('visible'); - window.scroll(0, 0); } /** |