FIX: OpenGraph should feature the desired post, if found in the set.

This commit is contained in:
Robin Ward
2013-07-08 12:21:39 -04:00
parent 013ad0fdda
commit cfc4dda9ff
3 changed files with 17 additions and 5 deletions

View File

@@ -346,7 +346,6 @@ Discourse.TopicView.reopenClass({
var header = $('header');
var title = $('#topic-title');
var expectedOffset = title.height() - header.find('.contents').height();
console.log(expectedOffset);
if (expectedOffset < 0) {
expectedOffset = 0;