mirror of
https://github.com/9001/copyparty.git
synced 2026-03-21 15:43:18 +10:00
make the primary tabs toggle-buttons
This commit is contained in:
@@ -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