Skip to content

Commit

Permalink
Update c2r.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MHaton authored Sep 12, 2017
1 parent af0d4a5 commit 2f25f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c2r/static/js/src/c2r.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ function c2r(event, showText, hideText) {

comment.slideToggle(200, function() {
if (comment.is(":hidden")) {
buttonPressed.text(showFinal);
buttonPressed.html(showFinal);
buttonPressed.attr("aria-expanded", "false");
} else {
buttonPressed.text(hideFinal);
buttonPressed.html(hideFinal);
buttonPressed.attr("aria-expanded", "true");
}
});
Expand Down

0 comments on commit 2f25f6c

Please sign in to comment.