diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2016-08-15 02:33:23 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2016-08-15 02:33:23 +0200 |
commit | b9c2bb99ebbb311476e0c606d99e8a7cc1fbd479 (patch) | |
tree | e034835d92f0c4be7d1cb70b5ec3aad69baeae7f | |
parent | b8d31e2c027a953988102be601dd4bc2e0253a15 (diff) |
Scroll to where the last finished headline is still visible
-rw-r--r-- | js/abmahn.js | 12 |
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 | ||
59 | function step0_cancel() { scrollTo(0); setClass('wrapper', 'stepcancel'); } | 59 | function step0_cancel() { scrollTo(0); setClass('wrapper', 'stepcancel'); } |
60 | function step0_done() { scrollTo(0); setClass('wrapper', 'step1'); } | 60 | function step0_done() { scrollTo(0); setClass('wrapper', 'step1'); } |
61 | function step1_done() { scrollTo(103); setClass('wrapper', 'step2'); } | 61 | function step1_done() { scrollTo(0); setClass('wrapper', 'step2'); } |
62 | function step2_done() { scrollTo(196); setClass('wrapper', 'step3'); } | 62 | function step2_done() { scrollTo(103); setClass('wrapper', 'step3'); } |
63 | function step3_done() { scrollTo(289); setClass('wrapper', 'step4'); } | 63 | function step3_done() { scrollTo(196); setClass('wrapper', 'step4'); } |
64 | function step4_done() { scrollTo(382); setClass('wrapper', 'step5'); } | 64 | function step4_done() { scrollTo(289); setClass('wrapper', 'step5'); } |
65 | function step5_done() { scrollTo(475); setClass('wrapper', 'step6'); } | 65 | function step5_done() { scrollTo(382); setClass('wrapper', 'step6'); } |
66 | function step6_done() { scrollTo(568); setClass('wrapper', 'step7'); } | 66 | function step6_done() { scrollTo(475); setClass('wrapper', 'step7'); } |
67 | 67 | ||
68 | function waldorf() { | 68 | function waldorf() { |
69 | setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe'); | 69 | setText('abmahnender_kanzlei', 'Waldorf & Frommer RAe'); |