summaryrefslogtreecommitdiffstats
path: root/js/app/directives/pulltorefresh.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'js/app/directives/pulltorefresh.coffee')
-rw-r--r--js/app/directives/pulltorefresh.coffee3
1 files changed, 1 insertions, 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 <http://www.gnu.org/licenses/>.
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) ->