emails: added reply link to comment type emails
- also added note/todo ID in display - cleanup code for anchor resolution, and selected elements highlight
This commit is contained in:
parent
697ce81998
commit
603a3c0545
10 changed files with 103 additions and 61 deletions
|
|
@ -576,21 +576,6 @@
|
|||
%endif
|
||||
|
||||
<script type="text/javascript">
|
||||
if (location.hash) {
|
||||
var result = splitDelimitedHash(location.hash);
|
||||
var line = $('html').find(result.loc);
|
||||
// show hidden comments if we use location.hash
|
||||
if (line.hasClass('comment-general')) {
|
||||
$(line).show();
|
||||
} else if (line.hasClass('comment-inline')) {
|
||||
$(line).show();
|
||||
var $cb = $(line).closest('.cb');
|
||||
$cb.removeClass('cb-collapsed')
|
||||
}
|
||||
if (line.length > 0){
|
||||
offsetScroll(line, 70);
|
||||
}
|
||||
}
|
||||
|
||||
versionController = new VersionController();
|
||||
versionController.init();
|
||||
|
|
@ -796,6 +781,7 @@
|
|||
ReviewerAutoComplete('#user');
|
||||
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue