make the primary tabs toggle-buttons

This commit is contained in:
ed 2021-09-09 00:35:07 +02:00
parent 759b0a994d
commit 58580320f9

View file

@ -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;