fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix prawdafalsz - thanks a lot jquery
[redakcja.git]
/
redakcja
/
static
/
edumed
/
js
/
edumed.coffee
diff --git
a/redakcja/static/edumed/js/edumed.coffee
b/redakcja/static/edumed/js/edumed.coffee
index
59430a2
..
9c3b3df
100644
(file)
--- a/
redakcja/static/edumed/js/edumed.coffee
+++ b/
redakcja/static/edumed/js/edumed.coffee
@@
-454,9
+454,9
@@
class PrawdaFalsz extends Exercise
return [good, all]
show_solutions: ->
return [good, all]
show_solutions: ->
- reset()
+
@
reset()
for qp in $(".question-piece", @element)
for qp in $(".question-piece", @element)
- if $(qp).data('solution') ==
'true'
+ if $(qp).data('solution') ==
true
$(".true", qp).click()
else
$(".false", qp).click()
$(".true", qp).click()
else
$(".false", qp).click()
@@
-488,4
+488,4
@@
$(document).ready () ->
new EduModule($("#book-text"))
$(".exercise").each (i, el) ->
new EduModule($("#book-text"))
$(".exercise").each (i, el) ->
- exercise(this)
\ No newline at end of file
+ exercise(this)