Commit 9d49a0e8 by Julian Arni

Fix check for waitfor attr

parent 1e0702f3
......@@ -142,7 +142,7 @@ class @Problem
# off @answers
check_waitfor: =>
for inp in @inputs
if not ($(inp).attr("data-waitfor")?)
if ($(inp).attr("waitfor")?)
try
$(inp).data("waitfor")()
catch e
......
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