Fix Header.hashScroll.
Regression from 3750c5bdf552bc374c600373aae033a302facddc.
This commit is contained in:
parent
90b16fc2ab
commit
939638b480
@ -429,7 +429,7 @@ Header =
|
||||
|
||||
hash = @location.hash[1..]
|
||||
return unless /^\d*p\d+$/.test(hash) and (post = $.id hash)
|
||||
return if (Get.postFromRoot post).isHidden
|
||||
return if !post.getBoundingClientRect().height
|
||||
$.queueTask -> Header.scrollTo post
|
||||
|
||||
scrollTo: (root, down, needed) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user