This commit is contained in:
8chan 2014-06-12 17:48:31 +00:00 committed by Fredrick Brennan
parent e856917b00
commit a9765f6c4a

View File

@ -48,7 +48,8 @@ onready(function(){
delete this.style.filter; delete this.style.filter;
} }
} else { } else {
this.parentNode.style.width = (parseInt(this.dataset.width)+40)+'px'; if (~this.parentNode.className.indexOf('multifile'))
this.parentNode.style.width = (parseInt(this.dataset.width)+40)+'px';
this.childNodes[0].src = this.dataset.src; this.childNodes[0].src = this.dataset.src;
this.childNodes[0].style.width = this.dataset.width; this.childNodes[0].style.width = this.dataset.width;
this.childNodes[0].style.height = this.dataset.height; this.childNodes[0].style.height = this.dataset.height;