diff options
Diffstat (limited to 'js/public/app.js')
-rw-r--r-- | js/public/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/public/app.js b/js/public/app.js index 2533ea6c1..ec311fc7f 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -2775,13 +2775,12 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. loading = this._feedLoading; this._lastFeedChange = new Date().getTime(); this._preventUselessAutoPageRequest = false; + console.log('free'); } else { loading = this._autoPageLoading; } loading.increase(); - successCallbackWrapper = function() { - return console.log('haha'); - }; + successCallbackWrapper = function() {}; lastChange = this._lastFeedChange; (function(lastChange, offset) { return successCallbackWrapper = function(data) { @@ -2792,6 +2791,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. console.log(_this._lastFeedChange); if (data.data.items.length === 0 && lastChange === _this._lastFeedChange && offset !== 0) { _this._preventUselessAutoPageRequest = true; + console.log('lock'); } onSuccess(data); return loading.decrease(); |