mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Quarantine: Remove page class from interstitials
This commit is contained in:
@@ -2476,6 +2476,12 @@ class InterstitialPage(BoringPage):
|
||||
content=content,
|
||||
)
|
||||
|
||||
def page_classes(self):
|
||||
classes = super(BoringPage, self).page_classes()
|
||||
if 'quarantine' in classes:
|
||||
classes.remove('quarantine')
|
||||
return classes
|
||||
|
||||
|
||||
class Interstitial(Templated):
|
||||
"""Generic template for rendering an interstitial page's content."""
|
||||
|
||||
Reference in New Issue
Block a user