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>';
|
||||
$i--;
|
||||
} else {
|
||||
var nurl=window.location.href;
|
||||
if (nurl.substr(-1)!="/") nurl+="/";
|
||||
var url=nurl+str+'?thumbnails';
|
||||
var url=files[$i].href.replace(/preview/, 'thumbnails');
|
||||
get_thumbnails_url(url, str, files[$i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue