mirror of
https://github.com/9001/copyparty.git
synced 2026-11-25 16:21:15 +00:00
make the primary tabs toggle-buttons
This commit is contained in:
1 parent
759b0a994d
commit
58580320f9
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user