Skip to content

Commit

Permalink
fix(FEC-11373): blank space in QnA area when onPage is false (#4237)
Browse files Browse the repository at this point in the history
**issue:**
when qna.onPage=false and the qna is enabled via the webcasting app, there is an empty black container, instead of the qna layout. The reason for this behavior is that the display att of the relevant element stays with "none" value, and never being changed to "block".

**solution:**
adding call to show() on the relevant element where needed.

Solves FEC-11373
  • Loading branch information
lianbenjamin authored Jun 30, 2021
1 parent 703ec54 commit 21f5871
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/QnA/resources/qna.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@

if (!_this.getConfig( 'onPage' )) {
_this.getQnaContainer().find(".qnaModuleBackgroundHider").hide();
_this.getQnaContainer().find(".qnaModuleBackground").show();
}
// open the module only if this is the first time
if (firstTime) {
Expand Down

0 comments on commit 21f5871

Please sign in to comment.