fix random files connect button vanishing (#5409)
Simon Smith committed
Oct 9, 2023 at 21:14 UTC
a39f874c716b1eaf93493258181483c48c3fc65d
1 file changed
+2
-1
views/default.handlebars
+2
-1
@@ -10574,7 +10574,8 @@
10574
}
10575
10576
function onFilesStateChange(xfiles, state) {
10577
- QV('p13Connect', (state == 0) && (files == null) && (filesNode.mtype == 2));
10577
+ setSessionActivity();
10578
+ QV('p13Connect', (state == 0) && (filesNode.mtype == 2));
10579
QV('p13Connects', (state == 0) && (features2 & 0x200) && (filesNode.agent != null) && (filesNode.agent.id != 3) && (filesNode.agent.id != 4) && ((features2 & 0x800000) == 0));
10580
QV('p13Disconnect', state != 0);
10581
var str = StatusStrs[state];