mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Use infinity symbol rather than -1 for nb_connections
This commit is contained in:
@@ -68,7 +68,7 @@ var loadTorrentData = function() {
|
||||
|
||||
temp = "QBT_TR(%1 (%2 max))QBT_TR"
|
||||
.replace("%1", data.nb_connections)
|
||||
.replace("%2", data.nb_connections_limit)
|
||||
.replace("%2", data.nb_connections_limit < 0 ? "∞" : data.nb_connections_limit)
|
||||
$('nb_connections').set('html', temp);
|
||||
|
||||
temp = "QBT_TR(%1 (%2 this session))QBT_TR"
|
||||
|
||||
Reference in New Issue
Block a user