Skip to content

Commit

Permalink
MBS-7529: Fix wrong id bug correctly...
Browse files Browse the repository at this point in the history
  • Loading branch information
PhMemmel committed Oct 17, 2023
1 parent c276dc2 commit 06cfdca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/quiz/amd/build/reload_answeroption.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/quiz/amd/build/reload_answeroption.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tools/quiz/amd/src/reload_answeroption.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const init = (uniqueId) => {
document.getElementById('ao_text_' + uniqueId).addEventListener("input", function() {
document.getElementById('ao_text_' + uniqueId).innerHTML = document.getElementById('ao_text_' + uniqueId).value;
document.getElementById('text_ao_' + uniqueId).addEventListener('input', function() {
document.getElementById('text_ao_' + uniqueId).innerHTML = document.getElementById('text_ao_' + uniqueId).value;
});
};

0 comments on commit 06cfdca

Please sign in to comment.