Showing
1 changed file
with
3 additions
and
0 deletions
@@ -6,6 +6,7 @@ | @@ -6,6 +6,7 @@ | ||
6 | 6 | ||
7 | var $ = require('jquery'), | 7 | var $ = require('jquery'), |
8 | ellipsis = require('mlellipsis'); | 8 | ellipsis = require('mlellipsis'); |
9 | +require('lazyload'); | ||
9 | 10 | ||
10 | 11 | ||
11 | exports.init = function() { | 12 | exports.init = function() { |
@@ -13,4 +14,6 @@ exports.init = function() { | @@ -13,4 +14,6 @@ exports.init = function() { | ||
13 | $(".post-list").find("span").each(function(){ | 14 | $(".post-list").find("span").each(function(){ |
14 | $(this).mlellipsis(2); | 15 | $(this).mlellipsis(2); |
15 | }) | 16 | }) |
17 | + | ||
18 | + $("img.lazy").lazyload(); | ||
16 | } | 19 | } |
-
Please register or login to post a comment