Commit 75d6d7b9 by Jonathan Piacenti

Semantic correction to answer adding button id name.

parent 108358bf
......@@ -21,7 +21,7 @@
</ul>
<div class="xblock-actions">
<ul>
<li class="action-item" id="poll-add-question">
<li class="action-item" id="poll-add-answer">
<a href="#" class="button action-button" onclick="return false;">Add Question</a>
</li>
<li class="action-item">
......
......@@ -26,7 +26,7 @@ function PollEditBlock(runtime, element) {
empowerDeletes();
}
$('#poll-add-question', element).click(function () {
$('#poll-add-answer', element).click(function () {
pollLineItems.append(answerTemplate({'answers': [{'key': generateUUID(), 'text': ''}]}));
empowerDeletes();
pollLineItems.last().scrollTop();
......
Markdown is supported
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