Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous is spelt incorrectly #4631

Merged
merged 1 commit into from
Aug 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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