4444444444444443333333333333
This commit is contained in:
@@ -2200,7 +2200,8 @@ class CommentSystem {
|
||||
}
|
||||
}
|
||||
|
||||
const bannerStyle = (comment.banner_file && comment.banner_file !== 'null')
|
||||
const bannerEnabled = window.f0ckCommentBannerEnabled !== false && window.f0ckSession?.comment_banner_enabled !== false;
|
||||
const bannerStyle = (bannerEnabled && comment.banner_file && comment.banner_file !== 'null')
|
||||
? `style="--author-banner: url('/a/${comment.banner_file}'); --author-banner-position: ${comment.banner_position === 'center' ? 'center top' : (comment.banner_position || 'center top')}; --author-banner-size: ${comment.banner_size || 'cover'}; --author-banner-repeat: ${comment.banner_repeat || 'repeat'};"`
|
||||
: '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user