mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
disable scrolling code
This commit is contained in:
parent
39a2c4b915
commit
c3bfe760c2
1 changed files with 5 additions and 5 deletions
|
@ -14,11 +14,11 @@ Template[getTemplate('post_page')].helpers({
|
||||||
})
|
})
|
||||||
|
|
||||||
Template[getTemplate('post_page')].rendered = function(){
|
Template[getTemplate('post_page')].rendered = function(){
|
||||||
if((scrollToCommentId=Session.get('scrollToCommentId')) && !this.rendered && $('#'+scrollToCommentId).exists()){
|
// if((scrollToCommentId=Session.get('scrollToCommentId')) && !this.rendered && $('#'+scrollToCommentId).exists()){
|
||||||
scrollPageTo('#'+scrollToCommentId);
|
// scrollPageTo('#'+scrollToCommentId);
|
||||||
Session.set('scrollToCommentId', null);
|
// Session.set('scrollToCommentId', null);
|
||||||
this.rendered=true;
|
// this.rendered=true;
|
||||||
}
|
// }
|
||||||
if(this.data) // XXX
|
if(this.data) // XXX
|
||||||
document.title = $(".post-title").text();
|
document.title = $(".post-title").text();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue