From 2ef57a706063fe08ded8f7662fb892ad96138d12 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 20 Feb 2016 18:14:44 +0100 Subject: hot fix masonry by using 100ms timeout --- js/directive/NewsRefreshMasonry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/directive') 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 +}); -- cgit v1.2.3