summaryrefslogtreecommitdiffstats
path: root/js/build/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/build/app.js')
-rw-r--r--js/build/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/build/app.js b/js/build/app.js
index f3d0d36bd..50283444f 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -2875,7 +2875,7 @@ app.directive('newsRefreshMasonry', ["$timeout", function ($timeout) {
return function (scope, elem) {
console.log('loading');
console.log(scope);
- if (scope.$parent.$last) {
+ if (scope.$last) {
refresh(elem);
}
};