diff options
| author | 2013-10-07 21:50:49 +0200 | |
|---|---|---|
| committer | 2013-10-07 21:50:49 +0200 | |
| commit | a09dc8a7c0e2292d09b50ad5c97044565e497ce2 (patch) | |
| tree | 4bc61af4d64b28f35f0014e9f9ea76215c6379ec | |
| parent | 978a48a1d653612f5c3412a2e3e16ccee8359ffc (diff) | |
Fix défilement articles dépliés en vue globale
| -rw-r--r-- | app/views/javascript/main.phtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index 37da448d2..03c60cc52 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -67,6 +67,10 @@ function toggleContent (new_active, old_active) { }); } } else { + if(relative_move) { + new_pos += old_scroll; + } + new_scroll = $(box_to_move).scrollTop (new_pos).scrollTop (); } |
