Skip to content

Commit

Permalink
v0.20.5 — Updated alternative language url property name. (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianMullins authored and ashleynolan committed Mar 2, 2018
1 parent 20ac75e commit 6fa66dd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,31 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


v0.20.5
------------------------------
*February 20, 2018*

### Changed
- Updated alternative language url property name.


v0.20.4
------------------------------
*February 20, 2018*

### Fixed
- Fixed issue when opening the mobile navigation and content still allowed to scroll.


v0.20.3
------------------------------
*February 19, 2018*

### Changed
- Made popover style prettier to match consumerweb uk.


v0.20.2
------------------------------
*February 19, 2018*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justeat/f-header",
"description": "Fozzie Header – Header Component for Just Eat projects",
"version": "0.20.4",
"version": "0.20.5",
"main": "dist/js/index.js",
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/header/partials/language-switcher.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</span>

{{#each alternativeLanguages as | lang |}}
<a href="{{ lang.returnUrl }}">
<a href="{{ lang.changeLanguageUrl }}">
<span class="is-visuallyHidden">
{{#with ../this}}{{ i18n "languageSwitcherAccessibility" language=lang.name }}{{/with}}
</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#if isMultiLingual}}
{{#each alternativeLanguageLinks as | lang |}}
<li class="c-nav-list-item u-showAboveMid" data-test-id="languageToggle">
<a href="{{ lang.returnUrl }}" class="c-nav-list-link">
<a href="{{ lang.changeLanguageUrl }}" class="c-nav-list-link">
<span class="is-visuallyHidden">
{{#with ../this}}{{ i18n "languageSwitcherAccessibility" language=lang.name }}{{/with}}
</span>
Expand Down

0 comments on commit 6fa66dd

Please sign in to comment.