diff --git a/app/views/users/_my_course.html.erb b/app/views/users/_my_course.html.erb
index 8b537bbc..cb7c592f 100644
--- a/app/views/users/_my_course.html.erb
+++ b/app/views/users/_my_course.html.erb
@@ -22,7 +22,7 @@
- <%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", '', :onclick => '$("#courses_history_block").slideToggle(400);' if User.current.logged? %>
+ <%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", 'javascript:void(0);', :onclick => '$("#courses_history_block").slideToggle(400);' if User.current.logged? %>
diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb
index eaa5efcb..60760f34 100644
--- a/app/views/users/_my_joinedcourse.html.erb
+++ b/app/views/users/_my_joinedcourse.html.erb
@@ -22,7 +22,7 @@
- <%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", '', :onclick => '$("#courses_history_block").slideToggle(400); ' if User.current.logged? %>
+ <%= link_to l(:label_course_done)+"("+@memberships_done.count.to_s+")", 'javascript:void(0);', :onclick => '$("#courses_history_block").slideToggle(400); ' if User.current.logged? %>