diff --git a/js/angular/directive/view.js b/js/angular/directive/view.js index 88a89baa79..b0fd77bc47 100644 --- a/js/angular/directive/view.js +++ b/js/angular/directive/view.js @@ -37,7 +37,6 @@ IonicModule priority: 1000, require: ['^?ionNavBar', '^?ionModal'], compile: function(tElement, tAttrs, transclude) { - if(1) return; tElement.addClass('pane'); tElement[0].removeAttribute('title'); diff --git a/js/views/scrollView.js b/js/views/scrollView.js index 2a1969ba99..79f347d010 100644 --- a/js/views/scrollView.js +++ b/js/views/scrollView.js @@ -890,6 +890,9 @@ ionic.views.Scroll = ionic.views.View.inherit({ delete this.__content; delete this.__indicatorX; delete this.__indicatorY; + + this.resize = this.scrollTo = this.zoomTo = + this.__scrollingComplete = angular.noop; }, /** Create a scroll bar div with the given direction **/ @@ -1089,7 +1092,7 @@ ionic.views.Scroll = ionic.views.View.inherit({ __scrollingComplete: function() { var self = this; self.options.scrollingComplete(); - ionic.tap.removeClonedInputs(container, self); + ionic.tap.removeClonedInputs(self.__container, self); self.__fadeScrollbars('out'); },