Skip to content

Commit

Permalink
Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Peek committed Dec 11, 2020
1 parent 613439e commit 2235dc1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The Enhanced Question attribute group contains values for **_isEnabled**, **_ove
This cannot be used when adapt-contrib-tutor is installed, as there are issues with adapt-contrib-trickle events, and multiple feedback popups will open.

----------------------------
**Version number:** 3.3.0
**Version number:** 3.3.1
**Framework versions supported:** 4+
**Author / maintainer:** DeltaNet with [contributors](https://github.com/deltanet/adapt-enhanced-question/graphs/contributors)
**Accessibility support:** Yes
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-enhanced-question",
"version": "3.3.0",
"version": "3.3.1",
"framework": ">=4",
"homepage": "https://github.com/deltanet/adapt-enhanced-question",
"issues": "https://github.com/deltanet/adapt-enhanced-question/issues",
Expand Down
5 changes: 5 additions & 0 deletions js/adapt-enhanced-question.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ define([
view.model.set('feedbackTitle', view.model.get("feedbackTitle"));
}

// Ensure 'Show feedback' button is displayed
if (view.model.get('feedbackMessage') == "") {
view.model.set('feedbackMessage', " ");
}

Adapt.trigger('audio:stopAllChannels');

var classes = ' enhancedQuestion-popup';
Expand Down

0 comments on commit 2235dc1

Please sign in to comment.