mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
make it build when CONFIG_ECMASCRIPT is undefined
This commit is contained in:
parent
f12134c2cf
commit
1112827be6
@ -1455,8 +1455,9 @@ init_link_event_hooks(struct html_context *html_context, struct link *link)
|
||||
add_evhook(link->event_hooks, SEVHOOK_ONKEYUP, elformat.onkeyup);
|
||||
add_evhook(link->event_hooks, SEVHOOK_ONKEYPRESS, elformat.onkeypress);
|
||||
|
||||
#ifdef CONFIG_ECMASCRIPT
|
||||
add_evhook(link->event_hooks, SEVHOOK_ONKEYPRESS_BODY, html_context->document->body_onkeypress);
|
||||
|
||||
#endif
|
||||
#undef add_evhook
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user