mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Shift+U switches between read and unread. Thanks to @MLACitation: https://twitter.com/mlacitation/status/155371014560288768
This commit is contained in:
parent
4400c797e0
commit
7ef994ce61
1 changed files with 5 additions and 2 deletions
|
@ -6795,8 +6795,11 @@
|
|||
});
|
||||
$document.bind('keydown', 'shift+u', function(e) {
|
||||
e.preventDefault();
|
||||
if (self.active_story) {
|
||||
var story_id = self.active_story.id;
|
||||
var story_id = self.active_story.id;
|
||||
console.log(["self.active_story", self.active_story]);
|
||||
if (self.active_story && !self.active_story.read_status) {
|
||||
self.mark_story_as_read(story_id);
|
||||
} else if (self.active_story && self.active_story.read_status) {
|
||||
self.mark_story_as_unread(story_id);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue