From 53862a434caf11ce95b315db6584d3541e0c421b Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 11 Nov 2013 16:54:36 -0600 Subject: [PATCH] My bad --- dist/js/ionic-angular.js | 2 +- js/ext/angular/src/directive/ionicList.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index a93e58d01e..7a91d5837b 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -664,7 +664,7 @@ angular.module('ionic.ui.list', ['ngAnimate']) var lv = new ionic.views.ListView({ el: $element[0], listEl: $element[0].children[0], - hasPullToRefresh: (typeof $scope.hasPullToRefresh !== 'false'), + hasPullToRefresh: ($scope.hasPullToRefresh !== 'false'), onRefresh: function() { $scope.onRefresh(); }, diff --git a/js/ext/angular/src/directive/ionicList.js b/js/ext/angular/src/directive/ionicList.js index 026597a62c..d8ea69d64a 100644 --- a/js/ext/angular/src/directive/ionicList.js +++ b/js/ext/angular/src/directive/ionicList.js @@ -107,7 +107,7 @@ angular.module('ionic.ui.list', ['ngAnimate']) var lv = new ionic.views.ListView({ el: $element[0], listEl: $element[0].children[0], - hasPullToRefresh: (typeof $scope.hasPullToRefresh !== 'false'), + hasPullToRefresh: ($scope.hasPullToRefresh !== 'false'), onRefresh: function() { $scope.onRefresh(); },