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