This commit is contained in:
ed 2025-10-14 22:01:21 +00:00
parent 66dc8b5c9f
commit ad85713693

View file

@ -5607,16 +5607,16 @@ var thegrid = (function () {
r.bbox_opts.refocus = true; r.bbox_opts.refocus = true;
}, },
captions: function (g, idx) { captions: function (g, idx) {
var h = '' + g; var h = '' + g;
return '<a download href="' + h + return '<a download href="' + h +
'">' + (idx + 1) + ' / ' + this.length + ' -- ' + '">' + (idx + 1) + ' / ' + this.length + ' -- ' +
esc(uricom_dec(h.split('/').pop())) + '</a>'; esc(uricom_dec(h.split('/').pop())) + '</a>';
}, },
onChange: function (i, maxIdx) { onChange: function (i, maxIdx) {
if (this[i].imageElement) { if (this[i].imageElement) {
sethash('g' + this[i].imageElement.getAttribute('ref') + getsort()); sethash('g' + this[i].imageElement.getAttribute('ref') + getsort());
} }
} }
}); });
r.bbox = true; r.bbox = true;