mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
9 lines
341 B
JavaScript
9 lines
341 B
JavaScript
Template.post_page.rendered = function(){
|
|
if((scrollToCommentId=Session.get('scrollToCommentId')) && !this.rendered && $('#'+scrollToCommentId).exists()){
|
|
scrollPageTo('#'+scrollToCommentId);
|
|
Session.set('scrollToCommentId', null);
|
|
this.rendered=true;
|
|
}
|
|
if(this.data) // XXX
|
|
document.title = $(".post-title").text();
|
|
}
|