Removed redundant comparation

This commit is contained in:
Birger Jarl 2016-04-28 20:34:05 +04:00
parent 8a262ecc2f
commit 70b85b9dd4

View File

@ -1640,7 +1640,6 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
apiWebPage.type != 'video' && apiWebPage.type != 'video' &&
apiWebPage.type != 'gif' && apiWebPage.type != 'gif' &&
apiWebPage.type != 'document' && apiWebPage.type != 'document' &&
apiWebPage.type != 'gif' &&
!apiWebPage.description && !apiWebPage.description &&
apiWebPage.photo) { apiWebPage.photo) {
apiWebPage.type = 'photo'; apiWebPage.type = 'photo';