fix: # in filename can not thumbnails
parent
00d61d6118
commit
f4d7c354ea
|
@ -655,9 +655,7 @@
|
||||||
files[$i].parentNode.parentNode.innerHTML='<td colspan="3"><img src="'+url+'" alt="'+str+'" onload="if (this.offsetWidth>document.getElementById(\'list-div\').offsetWidth) this.style.width=\'100%\';"></td>';
|
files[$i].parentNode.parentNode.innerHTML='<td colspan="3"><img src="'+url+'" alt="'+str+'" onload="if (this.offsetWidth>document.getElementById(\'list-div\').offsetWidth) this.style.width=\'100%\';"></td>';
|
||||||
$i--;
|
$i--;
|
||||||
} else {
|
} else {
|
||||||
var nurl=window.location.href;
|
var url=files[$i].href.replace(/preview/, 'thumbnails');
|
||||||
if (nurl.substr(-1)!="/") nurl+="/";
|
|
||||||
var url=nurl+str+'?thumbnails';
|
|
||||||
get_thumbnails_url(url, str, files[$i]);
|
get_thumbnails_url(url, str, files[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue