mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
Fixup some formatting leftovers (JS)
This commit is contained in:
parent
7aa12a025d
commit
3ba0b9df15
3 changed files with 3 additions and 2 deletions
|
@ -5,5 +5,6 @@
|
|||
"indent_with_tabs": false,
|
||||
"preserve_newlines": true,
|
||||
"max_preserve_newlines": 2,
|
||||
"end_with_newline": true,
|
||||
"jslint_happy": true
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ TransmissionRemote.prototype = {
|
|||
|
||||
sendRequest: function (data, callback, context, async) {
|
||||
var remote = this;
|
||||
if (typeof async != 'boolean') {
|
||||
if (typeof (async) != 'boolean') {
|
||||
async = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ TorrentRendererHelper.formatDL = function (t) {
|
|||
return '▼' + Transmission.fmt.speedBps(t.getDownloadSpeed());
|
||||
};
|
||||
|
||||
TorrentRendererHelper.formatETA = function(t) {
|
||||
TorrentRendererHelper.formatETA = function (t) {
|
||||
var eta = t.getETA();
|
||||
if (eta < 0 || eta >= (999 * 60 * 60)) {
|
||||
return "";
|
||||
|
|
Loading…
Reference in a new issue