Authored by 梁志锋

update

@@ -98,7 +98,7 @@ function search() { @@ -98,7 +98,7 @@ function search() {
98 type: 'GET', 98 type: 'GET',
99 url: url, 99 url: url,
100 success: function(data) { 100 success: function(data) {
101 - if (data) { 101 + if (data && data.img) {
102 $('#load-more-img').show(); 102 $('#load-more-img').show();
103 $('#load-more-img a').attr('href', data.url); 103 $('#load-more-img a').attr('href', data.url);
104 $('#load-more-img a > img').attr('src', data.img); 104 $('#load-more-img a > img').attr('src', data.img);