1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
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;
}
} 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].style.width = this.dataset.width;
this.childNodes[0].style.height = this.dataset.height;