diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 23:04:25 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 23:04:25 +0100 |
commit | e8cdd191953e5026957de0af99438288dfc428c6 (patch) | |
tree | f746fc37ab6caad4e23f8dff998f7f48bbcf6963 /js/public/app.js | |
parent | 13f9849a68bf9d58d30d6dc876d854fbd2df4586 (diff) |
debug
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(); |