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:
Samuel Clay 2012-06-27 11:08:11 -07:00
parent 90bcb4c62b
commit 281b3561af
2 changed files with 10 additions and 4 deletions

View file

@ -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});
},
// ========================

View file

@ -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']) {