Skip to content

Commit

Permalink
show "loading..." while users are waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
happypeter committed Dec 23, 2012
1 parent f10596e commit 77b582b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/views/courses/_course_info.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
</div>
</div>
</div>

7 changes: 7 additions & 0 deletions app/views/courses/_videos.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@
<% end %>
<% end %>
</ul>

<script>
$('ul#video_list li a').click( function() {
$(this).text("loading...");
setInterval(1000);
});
</script>

0 comments on commit 77b582b

Please sign in to comment.