Ad: remove unused style ID

- Removed "customAniviewStyling"
    - No longer exists -- it was from the old DOM manipulation method.

- Removed "with no tileLayout it indicates sidebar ad"
    - Misleading and not useful. I can easily set the sidebar ad to Tile if we wanted to (it used to be in Tile, we changed to save space). So, every time we change the style, we need to update the comment??

    - The sidebar is not the only place that List layout is used -- there's Channel and Category pages, which allows either layout.
This commit is contained in:
infinite-persistence 2022-03-09 16:02:11 +08:00
parent d210e81ded
commit 73552e35f9
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -95,7 +95,6 @@ function Ads(props: Props) {
removeIfExists('[src^="https://player.aniview.com/script/6.1/aniview.js"]');
removeIfExists('[id^="AVLoaderaniplayer_vidcrunch"]');
removeIfExists('#av_css_id');
removeIfExists('#customAniviewStyling');
};
} catch (e) {}
}
@ -121,7 +120,7 @@ function Ads(props: Props) {
return (
<div
className={classnames('ads ads__claim-item', className, {
'ads__claim-item--tile': tileLayout, // with no tileLayout it indicates sidebar ad
'ads__claim-item--tile': tileLayout,
})}
>
<div className="ad__container">