Skip to content

Commit b2aeaa5

Browse files
committed
fix: learn-english mode now works
1 parent 65e6a92 commit b2aeaa5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

_includes/session/bubble.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{%- if session_data.index %}
55
<div class="index">{{ include.index }}</div>
66
{%- endif %}
7-
87
{% assign words = include.text | replace: '\', '<br/>' | split: " " %}
98
{%- for raw in words %}
109
{%- if session_data.mode == 'learn-english' %}

_includes/session/hilight_word.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{%- assign str = word | remove_first: '^' %}
33

44
{%- if str == word %}
5-
{{ word }}
5+
{{ include.word }}
66
{%- else -%}
77
{%- assign w = str
88
| remove_first: '.'

0 commit comments

Comments
 (0)