diff --git a/template/app/view/Comments.js b/template/app/view/Comments.js index 83dcf1dcf677efd958ec3b6865ad8d557c9ae7d9..94e8aac9a9646fd633ddd01fdf17183063343012 100644 --- a/template/app/view/Comments.js +++ b/template/app/view/Comments.js @@ -132,7 +132,12 @@ Ext.define('Docs.view.Comments', { urlPrefix = '#!/guide/'; } else if (target[2] != '') { url += '-' + target[2]; - title += ' ' + target[2]; + if (target[0] == "class") { + title += '#' + target[2].replace(/^.*-/, ""); + } + else { + title += ' ' + target[2]; + } } return '' + title + ''; diff --git a/template/resources/sass/_comments.scss b/template/resources/sass/_comments.scss index 7d759cf7f43a500df2ea34895429059535d1743a..e83772ac78e97d14df9056f722ba782a7b98ab3b 100644 --- a/template/resources/sass/_comments.scss +++ b/template/resources/sass/_comments.scss @@ -198,9 +198,7 @@ .target { color: #666; font-size: 90%; - font-weight: normal; - a { - color: #666; } } + font-weight: normal; } .com-meta { position: relative; text-size: 13px;