summaryrefslogtreecommitdiffstats
path: root/js/directive
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-02-20 18:14:44 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-02-20 18:14:44 +0100
commit2ef57a706063fe08ded8f7662fb892ad96138d12 (patch)
tree4e75ace249e987e1181095921cecaf5646993ae9 /js/directive
parentc8722f83b6420c5b881b33fda2d8d00d0075367b (diff)
hot fix masonry by using 100ms timeout
Diffstat (limited to 'js/directive')
-rw-r--r--js/directive/NewsRefreshMasonry.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/directive/NewsRefreshMasonry.js b/js/directive/NewsRefreshMasonry.js
index a921de13d..c197ebbfa 100644
--- a/js/directive/NewsRefreshMasonry.js
+++ b/js/directive/NewsRefreshMasonry.js
@@ -17,7 +17,7 @@ app.directive('newsRefreshMasonry', function ($timeout) {
gutter: 25,
columnWidth: 300
});
- });
+ }, 100);
});
};
@@ -26,4 +26,4 @@ app.directive('newsRefreshMasonry', function ($timeout) {
refresh(elem);
}
};
-}); \ No newline at end of file
+});