mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] Do not fire onload event, when in plain text mode
This commit is contained in:
parent
af11da3e1c
commit
d10fe7d3c7
@ -301,7 +301,9 @@ check_for_snippets(struct view_state *vs, struct document_options *options, stru
|
||||
&vs->ecmascript->onload_snippets,
|
||||
&vs->ecmascript->current_onload_snippet);
|
||||
|
||||
fire_onload(document->dom);
|
||||
if (!vs->plain) {
|
||||
fire_onload(document->dom);
|
||||
}
|
||||
check_for_rerender(vs->ecmascript, "process_snippets");
|
||||
|
||||
vs->ecmascript->onload_snippets_cache_id = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user