diff --git a/js/views/sliderView.js b/js/views/sliderView.js index d9300816086..c79e77a90da 100644 --- a/js/views/sliderView.js +++ b/js/views/sliderView.js @@ -551,7 +551,7 @@ ionic.views.Slider = ionic.views.View.inherit({ element.style.left = ''; // reset slides so no refs are held on to - slides && (slides.length = 0); + slides && (slides.length = []); // removed event listeners if (browser.addEventListener) {