Skip to content

Commit

Permalink
Update: Added event trigger (fixes: #62) (#63)
Browse files Browse the repository at this point in the history
* Update adapt-contrib-glossaryItemView.js
Changed so it is less specific than using buzzwords that are spoken in reference to xAPI.
  • Loading branch information
joe-replin committed Feb 23, 2023
1 parent f1a8e82 commit a64d86f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/adapt-contrib-glossaryItemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default class GlossaryItemView extends Backbone.View {
onGlossaryItemClicked(event) {
event && event.preventDefault();
Adapt.trigger('glossary:descriptionOpen', this.model.cid);
Adapt.trigger('glossary:termSelected', this.model);
}

toggleGlossaryItemDescription() {
Expand Down

0 comments on commit a64d86f

Please sign in to comment.