Skip to content

Commit

Permalink
WIP: making enableQuestionBank initially false
Browse files Browse the repository at this point in the history
  • Loading branch information
dmols committed Dec 14, 2023
1 parent a0166e7 commit 4cef684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/creator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ Hangman.controller 'HangmanCreatorCtrl', ['$timeout', '$scope', '$sanitize', 'Re
$scope.attempts = ~~qset.options.attempts or 5
$scope.partial = qset.options.partial
$scope.random = qset.options.random
$scope.enableQuestionBank = qset.options.enableQuestionBank
$scope.questionBankVal = qset.options.questionBankVal
$scope.enableQuestionBank = false
$scope.questionBankVal = if qset.options.questionBankVal then qset.options.questionBankVal else false
$scope.onQuestionImportComplete qset.items[0].items

$scope.$apply()
Expand Down

0 comments on commit 4cef684

Please sign in to comment.