forked from indymedia/epicyon
News header detection
This commit is contained in:
1 parent
e36c676d3a
commit
ce1900d841
2 files changed
+2
-2
No files matched your search
@@ -83,7 +83,7 @@ def headerButtonsTimeline(defaultTimeline: str,
|
||||
|
||||
# if this is a news instance and we are viewing the news timeline
|
||||
newsHeader = False
|
||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||
newsHeader = True
|
||||
|
||||
if not newsHeader:
|
||||
|
||||
+1
-1
@@ -262,7 +262,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||
|
||||
# if this is a news instance and we are viewing the news timeline
|
||||
newsHeader = False
|
||||
if defaultTimeline == 'tlnews' and boxName == 'tlnews':
|
||||
if defaultTimeline == 'tlfeatures' and boxName == 'tlfeatures':
|
||||
newsHeader = True
|
||||
|
||||
newPostButtonStr = ''
|
||||
|
||||
Reference in new issue
Block a user