Browse Source

Don't show tracker tor bridge warning if more that 3 trackers finished

pull/2695/head
Tamas Kocsis 1 year ago
parent
commit
b3c9de5e47
  1. 2
      src/Ui/media/Wrapper.coffee
  2. 4
      src/Ui/media/all.js

2
src/Ui/media/Wrapper.coffee

@ -658,7 +658,7 @@ class Wrapper
else
@announcer_line = @loading.printLine(status_line)
if status_db.error.length > (status_db.announced.length + status_db.announcing.length)
if status_db.error.length > (status_db.announced.length + status_db.announcing.length) and status_db.announced.length < 3
@loading.showTrackerTorBridge(@server_info)
updateProgress: (site_info) ->

4
src/Ui/media/all.js

@ -629,7 +629,6 @@ $.extend( $.easing,
}).call(this);
/* ---- Loading.coffee ---- */
@ -1918,7 +1917,7 @@ $.extend( $.easing,
} else {
this.announcer_line = this.loading.printLine(status_line);
}
if (status_db.error.length > (status_db.announced.length + status_db.announcing.length)) {
if (status_db.error.length > (status_db.announced.length + status_db.announcing.length) && status_db.announced.length < 3) {
return this.loading.showTrackerTorBridge(this.server_info);
}
};
@ -2012,6 +2011,7 @@ $.extend( $.easing,
}).call(this);
/* ---- WrapperZeroFrame.coffee ---- */

Loading…
Cancel
Save