Skip to content

Commit

Permalink
Renamed internal icon reference for language selector
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 23, 2021
1 parent e6e3215 commit 0b2e140
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/upgrading.md
Expand Up @@ -260,7 +260,7 @@ matches the new structure:
+ <div class="md-header__options">
+ {% if config.extra.alternate %}
+ <div class="md-select">
+ {% set icon = config.theme.icon.translate or "material/translate" %}
+ {% set icon = config.theme.icon.alternate or "material/translate" %}
+ <span class="md-header__button md-icon">
+ {% include ".icons/" ~ icon ~ ".svg" %}
+ </span>
Expand Down
2 changes: 1 addition & 1 deletion material/partials/header.html
Expand Up @@ -34,7 +34,7 @@
<div class="md-header__options">
{% if config.extra.alternate %}
<div class="md-select">
{% set icon = config.theme.icon.translate or "material/translate" %}
{% set icon = config.theme.icon.alternate or "material/translate" %}
<span class="md-header__button md-icon">
{% include ".icons/" ~ icon ~ ".svg" %}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/partials/header.html
Expand Up @@ -74,7 +74,7 @@
<!-- Switch to toggle language -->
{% if config.extra.alternate %}
<div class="md-select">
{% set icon = config.theme.icon.translate or "material/translate" %}
{% set icon = config.theme.icon.alternate or "material/translate" %}
<span class="md-header__button md-icon">
{% include ".icons/" ~ icon ~ ".svg" %}
</span>
Expand Down

0 comments on commit 0b2e140

Please sign in to comment.