summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-09-14 05:18:44 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-09-14 05:18:44 +0200
commitec513ada34d917950057033e2b49bff9d5c7ec91 (patch)
tree6c485e03b3d94594c7abc82f8c5f81b94e51129c
parentbfa090ed5d6fd8fa22487d239d3bb1e0b5e60f69 (diff)
allow by default
-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) ->