mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Position offsets changed in jquery 1.4.2
This commit is contained in:
parent
d02e0e4e0e
commit
1ff73b0d9c
1 changed files with 2 additions and 2 deletions
|
@ -1208,8 +1208,8 @@
|
||||||
if ($story && $story.length) {
|
if ($story && $story.length) {
|
||||||
this.cache.iframe_stories[story.id] = $story;
|
this.cache.iframe_stories[story.id] = $story;
|
||||||
var position_original = parseInt($story.offset().top, 10);
|
var position_original = parseInt($story.offset().top, 10);
|
||||||
var position_offset = parseInt($story.offsetParent().scrollTop(), 10);
|
// var position_offset = parseInt($story.offsetParent().scrollTop(), 10);
|
||||||
var position = position_original + position_offset;
|
var position = position_original; // + position_offset;
|
||||||
this.cache.iframe_story_positions[position] = story;
|
this.cache.iframe_story_positions[position] = story;
|
||||||
this.cache.iframe_story_positions_keys.push(position);
|
this.cache.iframe_story_positions_keys.push(position);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue