mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 15:52:39 -07:00
indent
This commit is contained in:
parent
66dc8b5c9f
commit
ad85713693
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue