fix(sliderView): "getBoundClientRect" typo

This commit is contained in:
Sergii Iushchuk
2014-07-03 18:24:35 +03:00
committed by Andrew
parent 365b5a6bd6
commit 0dad2ed6e8

View File

@@ -60,7 +60,7 @@ ionic.views.Slider = ionic.views.View.inherit({
slidePos = new Array(slides.length);
// determine width of each slide
width = container.offsetWidth || container.getBoundClientRect().width;
width = container.offsetWidth || container.getBoundingClientRect().width;
element.style.width = (slides.length * width) + 'px';