diff --git a/js/angular/controller/scrollController.js b/js/angular/controller/scrollController.js index e5c997c37e..a5d33a9b4c 100644 --- a/js/angular/controller/scrollController.js +++ b/js/angular/controller/scrollController.js @@ -41,14 +41,15 @@ function($scope, scrollViewOptions, $timeout, $window, $$scrollValueCache, $loca if (!angular.isDefined(scrollViewOptions.bouncing)) { ionic.Platform.ready(function() { - scrollView.options.bouncing = true; - - if(ionic.Platform.isAndroid()) { - // No bouncing by default on Android - scrollView.options.bouncing = false; - // Faster scroll decel - scrollView.options.deceleration = 0.95; - } else { + if (scrollView.options) { + scrollView.options.bouncing = true; + if(ionic.Platform.isAndroid()) { + // No bouncing by default on Android + scrollView.options.bouncing = false; + // Faster scroll decel + scrollView.options.deceleration = 0.95; + } else { + } } }); }