Only check for original text length on backend.

This commit is contained in:
Samuel Clay 2021-09-30 12:32:36 -04:00
parent fcd8652715
commit 341a70596f

View file

@ -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({
}
}
});
});