mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Uncommenting Readability sharing. This was written a loooong time ago, but their API is finally ready.
This commit is contained in:
parent
396d76b5ac
commit
3e2ca86de9
3 changed files with 10 additions and 10 deletions
Binary file not shown.
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 1.1 KiB |
|
@ -2783,7 +2783,7 @@
|
|||
|
||||
send_story_to_readability: function(story_id) {
|
||||
var story = this.model.get_story(story_id);
|
||||
var url = 'https://readability.com/save';
|
||||
var url = 'http://www.readability.com/save';
|
||||
var readability_url = [
|
||||
url,
|
||||
'?url=',
|
||||
|
@ -4464,11 +4464,11 @@
|
|||
}, this)).bind('mouseleave', _.bind(function(e) {
|
||||
$(e.target).siblings('.NB-menu-manage-title').text('Email story').parent().removeClass('NB-menu-manage-highlight-instapaper');
|
||||
}, this))),
|
||||
// (NEWSBLUR.Preferences['story_share_readability'] && $.make('div', { className: 'NB-menu-manage-thirdparty-icon NB-menu-manage-thirdparty-readability'}).bind('mouseenter', _.bind(function(e) {
|
||||
// $(e.target).siblings('.NB-menu-manage-title').text('Readability').parent().addClass('NB-menu-manage-highlight-readability');
|
||||
// }, this)).bind('mouseleave', _.bind(function(e) {
|
||||
// $(e.target).siblings('.NB-menu-manage-title').text('Email story').parent().removeClass('NB-menu-manage-highlight-readability');
|
||||
// }, this))),
|
||||
(NEWSBLUR.Preferences['story_share_readability'] && $.make('div', { className: 'NB-menu-manage-thirdparty-icon NB-menu-manage-thirdparty-readability'}).bind('mouseenter', _.bind(function(e) {
|
||||
$(e.target).siblings('.NB-menu-manage-title').text('Readability').parent().addClass('NB-menu-manage-highlight-readability');
|
||||
}, this)).bind('mouseleave', _.bind(function(e) {
|
||||
$(e.target).siblings('.NB-menu-manage-title').text('Email story').parent().removeClass('NB-menu-manage-highlight-readability');
|
||||
}, this))),
|
||||
$.make('div', { className: 'NB-menu-manage-image' }),
|
||||
$.make('div', { className: 'NB-menu-manage-title' }, 'Email story')
|
||||
]).bind('click', _.bind(function(e) {
|
||||
|
|
|
@ -450,10 +450,10 @@ _.extend(NEWSBLUR.ReaderPreferences.prototype, {
|
|||
$.make('input', { type: 'checkbox', id: 'NB-preference-story-share-facebook', name: 'story_share_facebook' }),
|
||||
$.make('label', { 'for': 'NB-preference-story-share-facebook' })
|
||||
]),
|
||||
// $.make('div', { className: 'NB-preference-option', title: 'Readability' }, [
|
||||
// $.make('input', { type: 'checkbox', id: 'NB-preference-story-share-readability', name: 'story_share_readability' }),
|
||||
// $.make('label', { 'for': 'NB-preference-story-share-readability' })
|
||||
// ]),
|
||||
$.make('div', { className: 'NB-preference-option', title: 'Readability' }, [
|
||||
$.make('input', { type: 'checkbox', id: 'NB-preference-story-share-readability', name: 'story_share_readability' }),
|
||||
$.make('label', { 'for': 'NB-preference-story-share-readability' })
|
||||
]),
|
||||
$.make('div', { className: 'NB-preference-option', title: 'Instapaper' }, [
|
||||
$.make('input', { type: 'checkbox', id: 'NB-preference-story-share-instapaper', name: 'story_share_instapaper' }),
|
||||
$.make('label', { 'for': 'NB-preference-story-share-instapaper' })
|
||||
|
|
Loading…
Add table
Reference in a new issue