Commit c91bf2cc by lmf

fix

parent aab986ec
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
this._obj.init = function(){ this._obj.init = function(){
var str = ``; var str = ``;
for(var i=0;i<this.img.length;i++){ for(var i=0;i<this.img.length;i++){
str += `<a href="${this.href[i]}"><img loading="lazy" src="${this.img[i]}" src="${this.img[i]}"></a>` str += `<a href="${this.href[i]}"><img loading="lazy" src="${this.img[i]}"></a>`
} }
that.html(`<div class="imgbox">${str}</div>`).css({ that.html(`<div class="imgbox">${str}</div>`).css({
"width":"100%", "width":"100%",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment