diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index a3e101c9..0a60d0b9 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -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;