diff options
Diffstat (limited to 'js/public/app.js')
-rw-r--r-- | js/public/app.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/js/public/app.js b/js/public/app.js index ec311fc7f..7c9bbca63 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -2782,13 +2782,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. loading.increase(); successCallbackWrapper = function() {}; lastChange = this._lastFeedChange; - (function(lastChange, offset) { + (function(lastChange, offset, loading) { return successCallbackWrapper = function(data) { - console.log(data); - console.log(data.data.items); - console.log(offset); - console.log(lastChange); - console.log(_this._lastFeedChange); if (data.data.items.length === 0 && lastChange === _this._lastFeedChange && offset !== 0) { _this._preventUselessAutoPageRequest = true; console.log('lock'); @@ -2796,7 +2791,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. onSuccess(data); return loading.decrease(); }; - })(lastChange, offset); + })(lastChange, offset, loading); failureCallbackWrapper = function(data) { return loading.decrease(); }; |