Skip to content

Commit

Permalink
Previous is spelt incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSpace48 committed May 23, 2016
1 parent 42428d5 commit f05a85e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ define([
},

/**
* Change page to previos
* Change page to previous
*/
previousPage: function () {
this.currentPage(this.currentPage() - 1);
Expand Down
2 changes: 1 addition & 1 deletion dev/tests/js/jasmine/tests/lib/mage/gallery.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ define([
expect($(navSelector + ':eq(1)').attr('data-active') === 'true').toBeTruthy();
});

it('show previos', function () {
it('show previous', function () {
galleryAPI.prev();
expect($(navSelector + ':eq(0)').attr('data-active') === 'true').toBeTruthy();
});
Expand Down
4 changes: 2 additions & 2 deletions lib/web/mage/gallery/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div data-gallery-role="fotorama__focusable-start" tabindex="-1"></div>
<div class="fotorama__wrap fotorama__wrap--css3 fotorama__wrap--slide fotorama__wrap--toggle-arrows">
<div class="fotorama__stage" data-fotorama-stage="fotorama__stage">
<div class="fotorama__arr fotorama__arr--prev" tabindex="0" role="button" aria-label="Previos" data-gallery-role="arrow">
<div class="fotorama__arr fotorama__arr--prev" tabindex="0" role="button" aria-label="Previous" data-gallery-role="arrow">
<div class="fotorama__arr__arr"></div>
</div>
<div class="fotorama__stage__shaft" tabindex="0" data-gallery-role="stage-shaft">
Expand All @@ -25,7 +25,7 @@
<div class="fotorama__nav-wrap" data-gallery-role="nav-wrap">
<div class="fotorama__nav fotorama__nav--thumbs">
<div class="fotorama__fullscreen-icon" data-gallery-role="fotorama__fullscreen-icon" tabindex="0" aria-label="Exit fullscreen" role="button"></div>
<div class="fotorama__thumb__arr fotorama__thumb__arr--left" role="button" aria-label="Previos" data-gallery-role="arrow" tabindex = "-1">
<div class="fotorama__thumb__arr fotorama__thumb__arr--left" role="button" aria-label="Previous" data-gallery-role="arrow" tabindex = "-1">
<div class="fotorama__thumb--icon"></div>
</div>
<div class="fotorama__nav__shaft">
Expand Down

0 comments on commit f05a85e

Please sign in to comment.