diff --git a/kallithea/templates/changeset/diff_block.html b/kallithea/templates/changeset/diff_block.html
--- a/kallithea/templates/changeset/diff_block.html
+++ b/kallithea/templates/changeset/diff_block.html
@@ -70,7 +70,7 @@
${_('Show inline comments')}
- ${h.checkbox('checkbox-show-inline-' + id_fid, checked="checked",class_="show-inline-comments",**{'data-id_for':id_fid})}
+ ${h.checkbox('checkbox-show-inline-' + id_fid, checked="checked",class_="show-inline-comments",**{'data-for':id_fid})}
@@ -137,7 +137,7 @@ $(document).ready(function(){
if(target == null){
target = this;
}
- var boxid = $(target).data('id_for');
+ var boxid = $(target).data('for');
if(target.checked){
$('#{0} .inline-comments'.format(boxid)).show();
}else{