Skip to content
Snippets Groups Projects
Commit fe954ca1 authored by kimth's avatar kimth
Browse files

Unbreak frontend polling

parent 32924d8b
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,9 @@ class @Problem
poll: =>
$.postWithPrefix "#{@url}/problem_get", (response) =>
@el.html(response.html)
@executeProblemScripts()
@bind()
@executeProblemScripts () =>
@setupInputTypes()
@bind()
@queued_items = @$(".xqueue")
if @queued_items.length == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment