mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
skip self node in the sending peers quantity calculation
This commit is contained in:
parent
780365561a
commit
428086253a
@ -279,7 +279,7 @@ function setPostInfoSent(n, k, item) {
|
||||
function(args,count) {
|
||||
if( count >= 2 ) { // assume 2 peers (me + 1) is enough for "sent"
|
||||
args.item.text("\u2713"); // check mark
|
||||
args.item.attr("title", "\u2713 " + count); // display recipients quantity on sent icon title
|
||||
args.item.attr("title", "\u2713 " + (count - 1)); // display recipients quantity on sent icon title
|
||||
} else {
|
||||
args.item.text("\u231B"); // hour glass
|
||||
setTimeout(setPostInfoSent,30000,n,k,item);
|
||||
|
Loading…
Reference in New Issue
Block a user