mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing two small bugs in text view.
This commit is contained in:
parent
eaadc645c2
commit
de18a69ecf
1 changed files with 8 additions and 4 deletions
|
@ -749,17 +749,21 @@
|
|||
dir = '-';
|
||||
}
|
||||
// NEWSBLUR.log(['page_in_story', this.$s.$story_pane, direction, page_height, scroll_height]);
|
||||
if (this.story_view == 'page' && !this.flags['page_view_showing_feed_view']) {
|
||||
if (this.story_view == 'page' &&
|
||||
!this.flags['page_view_showing_feed_view'] &&
|
||||
!this.flags['temporary_story_view']) {
|
||||
this.$s.$feed_iframe.scrollTo({
|
||||
top: dir+'='+scroll_height,
|
||||
left:'+=0'
|
||||
}, 230, {queue: false});
|
||||
} else if (this.story_view == 'feed' || this.flags['page_view_showing_feed_view']) {
|
||||
} else if (this.story_view == 'feed' ||
|
||||
this.flags['page_view_showing_feed_view']) {
|
||||
this.$s.$feed_stories.scrollTo({
|
||||
top: dir+'='+scroll_height,
|
||||
left:'+=0'
|
||||
}, 230, {queue: false});
|
||||
} else if (this.story_view == 'text') {
|
||||
} else if (this.story_view == 'text' ||
|
||||
this.flags['temporary_story_view']) {
|
||||
this.$s.$text_view.scrollTo({
|
||||
top: dir+'='+scroll_height,
|
||||
left:'+=0'
|
||||
|
@ -4019,7 +4023,7 @@
|
|||
this.story_view == 'text' ||
|
||||
this.flags['feed_view_showing_story_view'] ||
|
||||
this.flags['temporary_story_view']) {
|
||||
// this.hide_mouse_indicator();
|
||||
this.hide_mouse_indicator();
|
||||
} else {
|
||||
_.delay(_.bind(this.show_mouse_indicator, this), 350);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue