original or thumb

pull/72/head
qkqpttgf 2020-05-20 20:23:19 +08:00 committed by GitHub
parent adfe133522
commit 40053a64c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@
<a onclick="sortby('a');"><!--constStr@File--></a>
<!--ShowThumbnailsStart-->
&nbsp;&nbsp;&nbsp;
<label style="display:none;"><input type="checkbox" id="originalpic"><!--constStr@OriginalPic--></label>
<label><input type="checkbox" id="originalpic"><!--constStr@OriginalPic--></label>
<button onclick="showthumbnails(this);"><!--constStr@ShowThumbnails--></button>
<!--ShowThumbnailsEnd-->
&nbsp;
@ -247,7 +247,7 @@
</li>
<!--AdminEnd-->
<ion-icon name="folder"></ion-icon>
<a id="file_a<!--filenum-->" name="filelist" href="<!--FileEncodeReplaceUrl-->/"><!--FileEncodeReplaceName--></a>
<a id="file_a<!--filenum-->" name="folderlist" href="<!--FileEncodeReplaceUrl-->/"><!--FileEncodeReplaceName--></a>
</td>
<td class="updated_at" id="folder_time<!--filenum-->"><!--lastModifiedDateTime--></td>
<td class="size" id="folder_size<!--filenum-->"><!--size--></td>
@ -672,7 +672,7 @@
}*/
function get_thumbnails_url(url, name, filea, thumb) {
if (!thumb) {
filea.innerHTML='<img src="'+url+'" alt="'+name+'" onload="if (this.offsetWidth>document.getElementById(\'list-div\').offsetWidth) this.style.width=\'100%\';">';
filea.parentNode.parentNode.innerHTML='<td colspan="3"><img src="'+url+'" alt="'+name+'" onload="if (this.offsetWidth>document.getElementById(\'list-div\').offsetWidth) this.style.width=\'100%\';"></td>';
return;
}
var xhr = new XMLHttpRequest();