Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-22 01:20:24 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-22 01:20:24 +0300
commit438125eb7d108f91f68acaacb0532e0c9e44b8c4 (patch)
tree53aeeb43c207eb9debbf9be2d1c73052ef74df58 /js/directive
parente5083a44186c77faf473303d3981f834e5d4f0f0 (diff)
debug
Diffstat (limited to 'js/directive')
-rw-r--r--js/directive/NewsRefreshMasonry.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/directive/NewsRefreshMasonry.js b/js/directive/NewsRefreshMasonry.js
index 8981c8d76..07daa6ea2 100644
--- a/js/directive/NewsRefreshMasonry.js
+++ b/js/directive/NewsRefreshMasonry.js
@@ -23,7 +23,7 @@ app.directive('newsRefreshMasonry', function ($timeout) {
return function (scope, elem) {
console.log('loading');
console.log(scope);
- if (scope.$parent.$last) {
+ if (scope.$last) {
refresh(elem);
}
};