indentation

This commit is contained in:
ed 2026-04-10 19:36:06 +00:00
parent 6b3419b38f
commit 55d37364a6

View file

@ -1216,9 +1216,7 @@ onresize100.add(read_sbw, true);
function check_image_support(format, uri) { function check_image_support(format, uri) {
var cached var cached = window['have_' + format] = sread('have_' + format);
= window['have_' + format]
= sread('have_' + format);
if (cached !== null) if (cached !== null)
return; return;
@ -5411,8 +5409,8 @@ var showfile = (function () {
Prism.highlightElement(el); Prism.highlightElement(el);
} }
catch (ex) { } catch (ex) { }
btn.setAttribute('download', ebi('docname').innerHTML); btn.setAttribute('download', ebi('docname').innerHTML);
btn.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(jt)); btn.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(jt));
}; };
r.mktree = function () { r.mktree = function () {
@ -5852,7 +5850,7 @@ var thegrid = (function () {
ihref = addq(ihref, 'th=' + ( ihref = addq(ihref, 'th=' + (
have_jxl ? 'x' : have_jxl ? 'x' :
have_webp ? 'w' : have_webp ? 'w' :
'j' 'j'
)); ));
if (!r.crop) if (!r.crop)
ihref += 'f'; ihref += 'f';
@ -9713,7 +9711,7 @@ var rcm = (function () {
var row = mknod('tr', 'rcm_tmp', var row = mknod('tr', 'rcm_tmp',
'<td>-new-</td><td colspan="' + (QSA("#files thead th").length - 1) + '"><input id="tempname" class="i" type="text" placeholder="' + (is_dir ? 'Folder' : 'File') + ' Name"></td>'); '<td>-new-</td><td colspan="' + (QSA("#files thead th").length - 1) + '"><input id="tempname" class="i" type="text" placeholder="' + (is_dir ? 'Folder' : 'File') + ' Name"></td>');
QS("#files tbody").appendChild(row); QS("#files tbody").appendChild(row);
} }
else { else {
var row = mknod('a', 'rcm_tmp', var row = mknod('a', 'rcm_tmp',
'<span class="dir" style="align-self:end"><input id="tempname" class="dir" type="text" placeholder="' + (is_dir ? 'Folder' : 'File') + ' Name"></span>'); '<span class="dir" style="align-self:end"><input id="tempname" class="dir" type="text" placeholder="' + (is_dir ? 'Folder' : 'File') + ' Name"></span>');