diff options
| author | 2012-12-03 21:19:28 +0100 | |
|---|---|---|
| committer | 2012-12-03 21:19:28 +0100 | |
| commit | 250c75de2a28d5bd7b724fd170e75e5910c79ddc (patch) | |
| tree | 7ea1aaf81fef4d7b6ba1a6ba809732f7ddfd0466 /app/views/javascript/main.phtml | |
| parent | 65dfc39af79465c5faca61902d1921a14e2901a8 (diff) | |
Correction design (issue #6), début correction bug #16 (à voir où ça en est)
Diffstat (limited to 'app/views/javascript/main.phtml')
| -rw-r--r-- | app/views/javascript/main.phtml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index e416cad95..a9ce2c5b1 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -24,7 +24,7 @@ function slide (new_active, old_active) { old_active.children (".content").slideUp (200); new_active.children (".content").slideDown (200, function () { $.smoothScroll({ - offset: new_active.position ().top + 25 + offset: new_active.position ().top }); }); } else { @@ -32,11 +32,6 @@ function slide (new_active, old_active) { offset: new_active.position ().top + 25 }); } - - // si le dernier post est actif, on charge les suivants - if (new_active.attr ("id") == $(".post.flux:last").attr ("id")) { - load_more_posts (); - } } function add_not_read (nb) { |
