From ec513ada34d917950057033e2b49bff9d5c7ec91 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 14 Sep 2013 05:18:44 +0200 Subject: allow by default --- js/app/directives/pulltorefresh.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/app/directives/pulltorefresh.coffee b/js/app/directives/pulltorefresh.coffee index 00f3bcae5..fff27517d 100644 --- a/js/app/directives/pulltorefresh.coffee +++ b/js/app/directives/pulltorefresh.coffee @@ -23,13 +23,12 @@ License along with this library. If not, see . angular.module('News').directive 'newsPullToRefresh', ['$rootScope', ($rootScope) -> - allowed = false + allowed = true $rootScope.$on 'loadingNewItems', -> allowed = false $rootScope.$on 'loadedNewItems', -> allowed = true - directive = restrict: 'A' link: (scope, elm, attrs) -> -- cgit v1.2.3