Merge pull request #1126 from codefuhrer/master
Removed redundant comparation
This commit is contained in:
commit
2469907a44
@ -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';
|
||||||
@ -4450,4 +4449,4 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
start: start,
|
start: start,
|
||||||
shareUrl: shareUrl
|
shareUrl: shareUrl
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user