actually this is better

This commit is contained in:
ed 2021-09-09 00:41:23 +02:00
parent 58580320f9
commit 524a3ba566

View file

@ -199,7 +199,7 @@ ebi('tree').innerHTML = (
function opclick(e) {
var dest = this.getAttribute('data-dest');
if (dest != 'unpost' && QS('#op_' + dest + '.act'))
if (QS('#op_' + dest + '.act'))
dest = '';
swrite('opmode', dest || null);
@ -4169,7 +4169,7 @@ function ev_row_tgl(e) {
var unpost = (function () {
ebi('op_unpost').innerHTML = (
"you can delete your recent uploads below – click the fire-extinguisher icon to refresh" +
'you can delete your recent uploads below &ndash; <a id="unpost_refresh" href="#">refresh list</a>' +
'<p>optional filter:&nbsp; URL must contain <input type="text" id="unpost_filt" size="20" /><a id="unpost_nofilt" href="#">clear filter</a></p>' +
'<div id="unpost"></div>'
);
@ -4314,6 +4314,11 @@ var unpost = (function () {
r.load();
};
ebi('unpost_refresh').onclick = function (e) {
ev(e);
goto('unpost');
};
return r;
})();