summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2016-08-15 02:33:23 +0200
committerDirk Engling <erdgeist@erdgeist.org>2016-08-15 02:33:23 +0200
commitb9c2bb99ebbb311476e0c606d99e8a7cc1fbd479 (patch)
treee034835d92f0c4be7d1cb70b5ec3aad69baeae7f
parentb8d31e2c027a953988102be601dd4bc2e0253a15 (diff)
Scroll to where the last finished headline is still visible
-rw-r--r--js/abmahn.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/abmahn.js b/js/abmahn.js
index a13cea6..0bf6a50 100644
--- a/js/abmahn.js
+++ b/js/abmahn.js
@@ -58,12 +58,12 @@ function scrollTo(end) {
58 58
59function step0_cancel() { scrollTo(0); setClass('wrapper', 'stepcancel'); } 59function step0_cancel() { scrollTo(0); setClass('wrapper', 'stepcancel'); }
60function step0_done() { scrollTo(0); setClass('wrapper', 'step1'); } 60function step0_done() { scrollTo(0); setClass('wrapper', 'step1'); }
61function step1_done() { scrollTo(103); setClass('wrapper', 'step2'); } 61function step1_done() { scrollTo(0); setClass('wrapper', 'step2'); }
62function step2_done() { scrollTo(196); setClass('wrapper', 'step3'); } 62function step2_done() { scrollTo(103); setClass('wrapper', 'step3'); }
63function step3_done() { scrollTo(289); setClass('wrapper', 'step4'); } 63function step3_done() { scrollTo(196); setClass('wrapper', 'step4'); }
64function step4_done() { scrollTo(382); setClass('wrapper', 'step5'); } 64function step4_done() { scrollTo(289); setClass('wrapper', 'step5'); }
65function step5_done() { scrollTo(475); setClass('wrapper', 'step6'); } 65function step5_done() { scrollTo(382); setClass('wrapper', 'step6'); }
66function step6_done() { scrollTo(568); setClass('wrapper', 'step7'); } 66function step6_done() { scrollTo(475); setClass('wrapper', 'step7'); }
67 67
68function waldorf() { 68function waldorf() {
69 setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe'); 69 setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe');