diff --git a/lib/pages/participants.js b/lib/pages/participants.js index 2cecc43..b28048a 100644 --- a/lib/pages/participants.js +++ b/lib/pages/participants.js @@ -10,7 +10,7 @@ $.each(courses, function(index,course){ $("#lmycourses").append('
  • '+course.fullname+'

    '+course.shortname+'

  • '); $("#course"+course.id).click(function(){ - localStorage.setItem("current_course",$(this).attr('data-courseid')) + localStorage.setItem("current_course",$(this).data('courseid')) $.mobile.changePage("users.html"); }); });