Authored by hf

Merge remote-tracking branch 'origin/develop'

... ... @@ -117,7 +117,8 @@ $('.info-list .title, .one-good .reco-name').each(function() {
});
//offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名
if ($authorIntro && (parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10))) {
if ($authorIntro.offset() && (parseInt($authorIntro.offset().left, 10) ===
parseInt($authorIntro.css('margin-left'), 10))) {
$authorIntro.css('padding-top', 0);
}
... ...
... ... @@ -18,7 +18,7 @@ function init($container) {
var html = '<div class="loading-mask hide"><div class="loading"></div></div>';
hasInit = true;
if ($container === undefined) {
if (typeof $container === 'undefined') {
$container = $page;
}
... ...