1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00
This commit is contained in:
8chan 2014-06-12 17:48:31 +00:00
parent 255ed9330c
commit e3a9ab1823

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;