diff --git a/dist/public/scripts/app.js b/dist/public/scripts/app.js index 03f63397..0db513c0 100644 --- a/dist/public/scripts/app.js +++ b/dist/public/scripts/app.js @@ -30390,7 +30390,7 @@ var getTorrentRange = function() { var TorrentList = React.createClass({displayName: "TorrentList", getInitialState: function() { - + return { allTorrents: [], selectedTorrents: [], @@ -30462,8 +30462,6 @@ var TorrentList = React.createClass({displayName: "TorrentList", var listPadding = getListPadding(); var torrentRange = getTorrentRange(); - console.log('viewport padding change, new min: ' + torrentRange.min + ' new max: ' + torrentRange.max); - this.setState({ minTorrentIndex: torrentRange.min, maxTorrentIndex: torrentRange.max, @@ -30684,10 +30682,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) { case ClientConstants.REMOVE_TORRENT: getClientStats(); break; - - default: - // nothing - } }); @@ -30819,9 +30813,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) { TorrentStore.emitChange(); break; - default: - // nothing - } }); @@ -31028,9 +31019,6 @@ var dispatcherIndex = AppDispatcher.register(function(action) { UIStore.emitViewportPaddingChange(); break; - default: - // nothing - } }); @@ -31052,7 +31040,7 @@ var getSpacer = function(torrents) { var setRenderLimit = function(scrollPosition, torrentCount) { var elementsInView = Math.floor(_viewportHeight / _torrentHeight); - + _minTorrentRendered = Math.floor(scrollPosition / _torrentHeight) - _torrentRenderBuffer; _maxTorrentRendered = _minTorrentRendered + elementsInView + (_torrentRenderBuffer * 2);