Skip to content

Commit

Permalink
Merge 45162e0 into 88ef5f7
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed Jun 13, 2016
2 parents 88ef5f7 + 45162e0 commit ba9ee11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/collective/texttospeech/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ var MainView = (function() {
}
} else {
responsiveVoice.speak(
$('#content').text(),
// For some firefox we need to take out the spaces
$('#content').text().replace(/\s+/g, ' ').trim(),
this.voice, {
onstart: $.proxy(this.onstart, this),
onend: $.proxy(this.onend, this)
Expand Down

0 comments on commit ba9ee11

Please sign in to comment.