Merge remote-tracking branch 'origin/develop'
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -117,7 +117,7 @@ $('.info-list .title, .one-good .reco-name').each(function() { | @@ -117,7 +117,7 @@ $('.info-list .title, .one-good .reco-name').each(function() { | ||
117 | }); | 117 | }); |
118 | 118 | ||
119 | //offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名 | 119 | //offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名 |
120 | -if ($authorIntro && parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10)) { | 120 | +if ($authorIntro && (parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10))) { |
121 | $authorIntro.css('padding-top', 0); | 121 | $authorIntro.css('padding-top', 0); |
122 | } | 122 | } |
123 | 123 |
-
Please register or login to post a comment