mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing @afita's issue around weirdness in Feed story selection when story titles are pinned to top.
This commit is contained in:
parent
95326cc835
commit
d3a65d2cc8
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ NEWSBLUR.Views.StoryListView = Backbone.View.extend({
|
|||
!NEWSBLUR.assets.preference('feed_view_single_story')) {
|
||||
var from_top = NEWSBLUR.reader.cache.mouse_position_y + this.$el.scrollTop();
|
||||
var offset = this.cache.story_pane_position;
|
||||
var position = from_top; // - offset;
|
||||
var position = from_top - offset;
|
||||
var positions = this.cache.feed_view_story_positions_keys;
|
||||
var closest = $.closest(position, positions);
|
||||
var story = this.cache.feed_view_story_positions[positions[closest]];
|
||||
|
|
Loading…
Add table
Reference in a new issue