Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused (global :() variable

Test Plan:
ack correctIndex and run answer-types unit tests.

Auditors: eater
  • Loading branch information...
commit ea9924cc9b751f6f0476541d797f73ce91ec5aa0 1 parent 3fedb54
@spicyj spicyj authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  utils/answer-types.js
View
3  utils/answer-types.js
@@ -1267,9 +1267,6 @@ Khan.answerTypes = $.extend(Khan.answerTypes, {
}
$.each(shownChoices, function(i, choice) {
- if (choice.data("correct")) {
- correctIndex = i + "";
- }
// Wrap each of the choices in elements and add a radio button
choice.contents()
.wrapAll('<li><label><span class="value"></span></label></li>')
Please sign in to comment.
Something went wrong with that request. Please try again.