mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
I forgot about this one
This commit is contained in:
parent
049d088e8a
commit
bdc3fcb7e4
@ -828,7 +828,7 @@ start_element(struct element_info *ei,
|
||||
html_top->linebreak = ei->linebreak;
|
||||
|
||||
#ifdef CONFIG_ECMASCRIPT
|
||||
if (has_attr(attr, "onClick", html_context->options)) {
|
||||
if (has_attr(attr, "onClick", html_context->options->cp)) {
|
||||
/* XXX: Put something better to format.link. --pasky */
|
||||
mem_free_set(&format.link, stracpy("javascript:void(0);"));
|
||||
mem_free_set(&format.target, stracpy(html_context->base_target));
|
||||
|
Loading…
Reference in New Issue
Block a user