diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-11-03 03:13:42 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-11-03 03:13:42 +0300 |
commit | 5d1ac6d7c3ee18ab0cd9fb17dff683a8a094687a (patch) | |
tree | 29efd9c166bfe716bc67849c9648c03edb8aecae /index.js | |
parent | e06be73c3ea035380927df807a4e58136b118324 (diff) |
style
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ WebTorrent.prototype.download = function (torrentId, opts, ontorrent) { opts.client = self opts.storage = opts.storage || self.storage - if(opts.tmp) opts.storageOpts = { tmp: opts.tmp }; + if (opts.tmp) opts.storageOpts = { tmp: opts.tmp } var torrent = new Torrent(torrentId, extend({ client: self }, opts)) self.torrents.push(torrent) |