Skip to content

Commit

Permalink
bind tts to play button
Browse files Browse the repository at this point in the history
  • Loading branch information
aalok-sathe committed May 30, 2020
1 parent 81bab31 commit 4e34b86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/ipatope.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ $('.sorters').on('click', '.button', function() {
{% endfor %}


$('.play').on('click', function(e) {
var symb = $(this).parent('.phoneme-item').find('.symbol').text();
console.log('attempting to play', symb);
process(symb);
})


// packery --------------------

Expand Down

0 comments on commit 4e34b86

Please sign in to comment.