Skip to content

Commit

Permalink
fix(sliderView): "getBoundClientRect" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Edifear authored and ajoslin committed Jul 5, 2014
1 parent 365b5a6 commit 0dad2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/sliderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 0dad2ed

Please sign in to comment.