diff --git a/cps/templates/detail.html b/cps/templates/detail.html
index 9fc6def3..4d3ee95a 100644
--- a/cps/templates/detail.html
+++ b/cps/templates/detail.html
@@ -109,14 +109,10 @@
{% endif %}
{% if not g.user.is_anonymous() %}
- Read
- {% if have_read %}
-
- {% else %}
-
- {% endif %}
+
@@ -229,7 +225,7 @@
var haveReadForm = $('#have_read_form');
haveReadForm.ajaxForm();
});
- $("#have_read").attr('unselectable','on')
+ $("#have_read_container").attr('unselectable','on')
.css({'-moz-user-select':'-moz-none',
'-moz-user-select':'none',
'-o-user-select':'none',
@@ -238,7 +234,7 @@
'-ms-user-select':'none',
'user-select':'none'
}).bind('selectstart', function(){ return false; });
- $("#have_read").click(function() {
+ $("#have_read_container").click(function() {
var haveReadForm = $('#have_read_form');
if ($("#have_read").find('span').hasClass('glyphicon-ok')) {
$("#have_read").find('span').removeClass('glyphicon-ok');