Skip to content
Snippets Groups Projects
Commit 95c60203 authored by chris's avatar chris
Browse files

fix mutlitple choice text area

parent 23484b52
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ export default class QuestionTrueFalseNodeView extends QuestionsNodeView { ...@@ -23,7 +23,7 @@ export default class QuestionTrueFalseNodeView extends QuestionsNodeView {
} }
stopEvent(event) { stopEvent(event) {
if (event.target.type === 'text') { if (event.target.type === 'textarea') {
return true; return true;
} }
const innerView = this.context.pmViews[this.node.attrs.id]; const innerView = this.context.pmViews[this.node.attrs.id];
......
...@@ -23,7 +23,7 @@ export default class QuestionTrueFalseSingleNodeView extends QuestionsNodeView { ...@@ -23,7 +23,7 @@ export default class QuestionTrueFalseSingleNodeView extends QuestionsNodeView {
} }
stopEvent(event) { stopEvent(event) {
if (event.target.type === 'text') { if (event.target.type === 'textarea') {
return true; return true;
} }
const innerView = this.context.pmViews[this.node.attrs.id]; const innerView = this.context.pmViews[this.node.attrs.id];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment