mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[session] Set referrer based on ses->doc_view not current_frame
This commit is contained in:
parent
8596d604cc
commit
789be0be41
@ -870,7 +870,7 @@ request_additional_file(struct session *ses, const char *name, struct uri *uri,
|
||||
static void
|
||||
load_additional_file(struct file_to_load *ftl, cache_mode_T cache_mode)
|
||||
{
|
||||
struct document_view *doc_view = current_frame(ftl->ses);
|
||||
struct document_view *doc_view = ftl->ses->doc_view;
|
||||
struct uri *referrer = doc_view && doc_view->document
|
||||
? doc_view->document->uri : NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user