Show More
Commit Description:
Merge pull request #10 from nattee/master...
Commit Description:
Merge pull request #10 from nattee/master Let PDF be viewable by the inline viewer of the browser
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/toggle.js.rjs | 6 lines | 213 B | text/plain | TextLexer |
if @problem.available
page["prob-#{@problem.id}"].className = "available"
else
page["prob-#{@problem.id}"].className = "not-available"
end
page["prob-#{@problem.id}-avail"].innerHTML = @problem.available.to_s