diff options
| author | 2013-06-15 11:02:58 +0200 | |
|---|---|---|
| committer | 2013-06-15 11:02:58 +0200 | |
| commit | 0ff751b443604ccb8cd0eb69050f59298c98a492 (patch) | |
| tree | c0a66c2a75d8a3c619f0b35c1504a98b13167dc4 /app/views/javascript/main.phtml | |
| parent | fb5e5594bea149ca730bc6424dc547dab3347747 (diff) | |
Lazyload facultatif (issue #75 ok)
Diffstat (limited to 'app/views/javascript/main.phtml')
| -rw-r--r-- | app/views/javascript/main.phtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index 443f62c31..9596b1647 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -125,8 +125,9 @@ function init_posts () { <?php } ?> init_img (); - // TODO rendre optionnel + <?php if($this->conf->lazyload() == 'yes') { ?> $(".flux .content img").lazyload(); + <?php } ?> if (hide_posts) { $(".flux:not(.active) .flux_content").hide (); |
