Skip to content

Commit

Permalink
fix: adding literal notation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjmpb committed Aug 29, 2024
1 parent 1e79b8a commit 2b38f46
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lms/static/js/edxnotes/plugins/ai_summarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@
var annotator = this.annotator;
annotator.adder[0].children[0].id = 'annotateButton';
annotator.adder[0].children[0].innerHTML = '<i class="fa fa-pencil" aria-hidden="true"></i>';
annotator.adder[0].innerHTML +=
'<button class="summarize-button" id="summarizeButton" title="' + gettext('Summarize text using AI.') + '">' +
'<i class="fa fa-star" aria-hidden="true"></i>' +
'</button>';
annotator.adder[0].innerHTML += `
<button class="summarize-button" id="summarizeButton" title="${gettext('Summarize text using AI.')}">
<i class="fa fa-star" aria-hidden="true"></i>
</button>
`;
},
});
});
Expand Down

0 comments on commit 2b38f46

Please sign in to comment.