Skip to content

Commit 3c4bee3

Browse files
committed
Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting.
- Legacy-Id: 5879
1 parent 1e03a04 commit 3c4bee3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ def document_main(request, name, rev=None):
133133

134134
# specific document types
135135
if doc.type_id == "draft":
136-
split_content = not request.GET.get('include_text')
137-
if request.COOKIES.get("full_draft", "") == "on":
138-
split = False
136+
split_content = not ( request.GET.get('include_text') or request.COOKIES.get("full_draft", "") == "on" )
139137

140138
iesg_state = doc.get_state("draft-iesg")
141139

0 commit comments

Comments
 (0)