mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
make the primary tabs toggle-buttons
This commit is contained in:
parent
759b0a994d
commit
58580320f9
|
@ -199,6 +199,9 @@ ebi('tree').innerHTML = (
|
||||||
|
|
||||||
function opclick(e) {
|
function opclick(e) {
|
||||||
var dest = this.getAttribute('data-dest');
|
var dest = this.getAttribute('data-dest');
|
||||||
|
if (dest != 'unpost' && QS('#op_' + dest + '.act'))
|
||||||
|
dest = '';
|
||||||
|
|
||||||
swrite('opmode', dest || null);
|
swrite('opmode', dest || null);
|
||||||
if (ctrl(e))
|
if (ctrl(e))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue