From 70b85b9dd4914a6a050d5939b3670e0fa8aeb18a Mon Sep 17 00:00:00 2001 From: Birger Jarl Date: Thu, 28 Apr 2016 20:34:05 +0400 Subject: [PATCH] Removed redundant comparation --- app/js/services.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/js/services.js b/app/js/services.js index bacc47ef..a59db684 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -1640,7 +1640,6 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) apiWebPage.type != 'video' && apiWebPage.type != 'gif' && apiWebPage.type != 'document' && - apiWebPage.type != 'gif' && !apiWebPage.description && apiWebPage.photo) { apiWebPage.type = 'photo'; @@ -4447,4 +4446,4 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) start: start, shareUrl: shareUrl }; -}) \ No newline at end of file +})