Skip to content

Commit

Permalink
NOJIRA: Resolve variable name issue for TTS button
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrambilla committed May 20, 2020
1 parent e230320 commit 97de74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/js/tts.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ clusiveTTS.toggleButtonToPlay = function () {
});
$(clusiveTTS.readAloudIconId).toggleClass("icon-play", true);
$(clusiveTTS.readAloudIconId).toggleClass("icon-stop", false);
$(clusiveTTS.readAloudSrTextId).text(readAloudButtonPlayAriaLabel);
$(clusiveTTS.readAloudSrTextId).text(clusiveTTS.readAloudButtonPlayAriaLabel);
};

clusiveTTS.toggleButtonToStop = function () {
Expand All @@ -41,7 +41,7 @@ clusiveTTS.toggleButtonToStop = function () {
});
$(clusiveTTS.readAloudIconId).toggleClass("icon-play", false);
$(clusiveTTS.readAloudIconId).toggleClass("icon-stop", true);
$(clusiveTTS.readAloudSrTextId).text(readAloudButtonStopAriaLabel);
$(clusiveTTS.readAloudSrTextId).text(clusiveTTS.readAloudButtonStopAriaLabel);
};


Expand Down

0 comments on commit 97de74d

Please sign in to comment.