Fix minor JavaScript defects

This commit is contained in:
Thomas Piccirello 2018-09-26 23:10:51 -04:00
parent 08df3277df
commit 1e6942e967
12 changed files with 871 additions and 872 deletions

View file

@ -301,7 +301,7 @@ window.addEvent('load', function() {
var syncMainData = function() {
var url = new URI('api/v2/sync/maindata');
url.setData('rid', syncMainDataLastResponseId);
var request = new Request.JSON({
new Request.JSON({
url: url,
noCache: true,
method: 'get',
@ -727,7 +727,7 @@ var loadTorrentPeersData = function() {
var url = new URI('api/v2/sync/torrentPeers');
url.setData('rid', syncTorrentPeersLastResponseId);
url.setData('hash', current_hash);
var request = new Request.JSON({
new Request.JSON({
url: url,
noCache: true,
method: 'get',