fix: # in filename can not thumbnails
This commit is contained in:
+1
-3
@@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user