don't open up2k modal automatically on file drop

This commit is contained in:
Til Schmitter 2026-05-04 00:33:52 +02:00
parent 87623f3888
commit 9b7a503205
2 changed files with 6 additions and 2 deletions

View file

@ -2868,6 +2868,10 @@ html.c .modalcontent {
max-width: none;
margin: 0;
}
.closepane,
.close {
display: none;
}
}

View file

@ -839,6 +839,7 @@ function up2k_init(subtle) {
var loading_deps = false;
function init_deps() {
console.log('up2k init deps');
if (!loading_deps && !got_deps()) {
var fn = 'sha512.' + sha_js + '.js',
m = L.u_https1 + ' <a href="' + (location + '').replace(':', 's:') + '">' + L.u_https2 + '</a> ' + L.u_https3;
@ -1201,9 +1202,8 @@ function up2k_init(subtle) {
// if ((dz == 'up_dz' && uc.fsearch) || (dz == 'srch_dz' && !uc.fsearch))
// tgl_fsearch();
//if (!QS('#op_up2k.act'))
if(!uc.fsearch)
goto('up2k');
up2k.init_deps();
var files,
is_itemlist = false;