mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Only check for original text length on backend.
This commit is contained in:
parent
fcd8652715
commit
341a70596f
1 changed files with 2 additions and 3 deletions
|
@ -69,8 +69,7 @@ NEWSBLUR.Views.TextTabView = Backbone.View.extend({
|
|||
this.hide_loading();
|
||||
var $content = this.$('.NB-feed-story-content');
|
||||
|
||||
if (!this.story.get('original_text') ||
|
||||
this.story.get('original_text').length < (this.story.get('story_content').length / 3)) {
|
||||
if (!this.story.get('original_text')) {
|
||||
this.error();
|
||||
} else {
|
||||
$content.html(this.story.original_text());
|
||||
|
@ -173,4 +172,4 @@ NEWSBLUR.Views.TextTabView = Backbone.View.extend({
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue