mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 13:33:09 -07:00
shares: fix lifetime-extend; closes #1248
This commit is contained in:
parent
24141b494b
commit
b6bf6d5f7a
|
|
@ -16,7 +16,7 @@ function rm() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function bump() {
|
function bump() {
|
||||||
var k = this.closest('tr').getElementsByTagName('a')[2].getAttribute('k'),
|
var k = this.closest('tr').querySelector('a[k]').getAttribute('k'),
|
||||||
u = SR + '/?skey=' + uricom_enc(k) + '&eshare=' + this.value,
|
u = SR + '/?skey=' + uricom_enc(k) + '&eshare=' + this.value,
|
||||||
xhr = new XHR();
|
xhr = new XHR();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue