mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -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) {
|
||||
var dest = this.getAttribute('data-dest');
|
||||
if (dest != 'unpost' && QS('#op_' + dest + '.act'))
|
||||
dest = '';
|
||||
|
||||
swrite('opmode', dest || null);
|
||||
if (ctrl(e))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue