Authored by 2586703@qq.com

详情页ipad 右侧定位

... ... @@ -515,7 +515,7 @@ define('yohood', function(require, exports) {
});
if ($('.detail-body').outerHeight() > $('.detail-side').outerHeight()) {
if ($('.detail-body').outerHeight() > $('.detail-side').outerHeight() && navigator.userAgent.indexOf('iPad') === -1) {
//右侧相关文章定位
relatedPost = $('.side-related-post');
relatedTop = relatedPost.offset().top;
... ...