Skip to content

Commit

Permalink
Show timetable by click on the result row in list of groups or lecturers
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed May 4, 2012
1 parent 353d6e4 commit 68c357e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/javascripts/timetable/timetable.js
Expand Up @@ -9,6 +9,10 @@ jQuery(document).ready(function($){
timer = setTimeout("window.location.reload(true)", 45000);
});

$('.list_box').on('click', '.group, .lecturer', function () {
location.href = $('a', this).attr("href");
});

// Handles keyboard click
$('.key').on('click', function () {
var key = $(this);
Expand Down

0 comments on commit 68c357e

Please sign in to comment.