Skip to content

Commit

Permalink
[#2623] Fixed translation data-attributes for toggle with SpeechSynth…
Browse files Browse the repository at this point in the history
…esis
  • Loading branch information
jiromaykin committed Oct 22, 2024
1 parent 339ddfd commit 56d9dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@
</ul>
<div class="help-modal" data-help-title="{% trans 'Uitleg pagina' %}" data-help-text="{{ help_text }}" data-help-close="{% trans 'Sluiten' %}"></div>
</div>

1 change: 1 addition & 0 deletions src/open_inwoner/js/components/accessibility/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const readOutButtons = document.querySelectorAll('.accessibility--read')
class ReadOut {
constructor(node) {
this.node = node

this.speechSynthesis = window.speechSynthesis
this.SpeechSynthesisUtterance = window.SpeechSynthesisUtterance
this.isPaused = false // Track if speech is paused
Expand Down

0 comments on commit 56d9dd7

Please sign in to comment.