mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing issues around blurring to page on opening add site to folder dialog, and mouse indicator position when story titles pane is at top.
This commit is contained in:
parent
90bcb4c62b
commit
281b3561af
2 changed files with 10 additions and 4 deletions
|
@ -438,8 +438,14 @@
|
|||
}
|
||||
},
|
||||
|
||||
blur_to_page: function() {
|
||||
$(':focus').blur();
|
||||
blur_to_page: function(options) {
|
||||
options = options || {};
|
||||
|
||||
if (options.manage_menu) {
|
||||
$('.NB-menu-manage :focus').blur();
|
||||
} else {
|
||||
$(':focus').blur();
|
||||
}
|
||||
},
|
||||
|
||||
// ==============
|
||||
|
@ -2739,7 +2745,7 @@
|
|||
}
|
||||
$('.NB-task-manage').removeClass('NB-hover');
|
||||
|
||||
this.blur_to_page();
|
||||
this.blur_to_page({manage_menu: true});
|
||||
},
|
||||
|
||||
// ========================
|
||||
|
|
|
@ -316,7 +316,7 @@ NEWSBLUR.Views.StoryListView = Backbone.View.extend({
|
|||
}
|
||||
|
||||
NEWSBLUR.reader.cache.mouse_position_y = e.pageY;
|
||||
NEWSBLUR.reader.$s.$mouse_indicator.css('top', NEWSBLUR.reader.cache.mouse_position_y - 8);
|
||||
NEWSBLUR.reader.$s.$mouse_indicator.css('top', NEWSBLUR.reader.cache.mouse_position_y - this.cache.story_pane_position - 8);
|
||||
|
||||
if (this.flags['mousemove_timeout'] ||
|
||||
NEWSBLUR.reader.flags['scrolling_by_selecting_story_title']) {
|
||||
|
|
Loading…
Add table
Reference in a new issue