Skip to content

Commit

Permalink
fix random files connect button vanishing
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Smith <[email protected]>
  • Loading branch information
si458 committed Oct 9, 2023
1 parent 5ad481a commit 692d7d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/default.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -10574,7 +10574,8 @@
}

function onFilesStateChange(xfiles, state) {
QV('p13Connect', (state == 0) && (files == null) && (filesNode.mtype == 2));
setSessionActivity();
QV('p13Connect', (state == 0) && (filesNode.mtype == 2));
QV('p13Connects', (state == 0) && (features2 & 0x200) && (filesNode.agent != null) && (filesNode.agent.id != 3) && (filesNode.agent.id != 4) && ((features2 & 0x800000) == 0));
QV('p13Disconnect', state != 0);
var str = StatusStrs[state];
Expand Down

0 comments on commit 692d7d1

Please sign in to comment.