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:
parent
d210e81ded
commit
73552e35f9
1 changed files with 1 additions and 2 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue