Fix Header.hashScroll.

Regression from 3750c5bdf552bc374c600373aae033a302facddc.
This commit is contained in:
ccd0 2015-12-13 11:58:51 -08:00
parent 90b16fc2ab
commit 939638b480

View File

@ -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) ->