1
0
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:
Witold Filipczyk 2006-08-05 18:08:52 +02:00 committed by Witold Filipczyk
parent 049d088e8a
commit bdc3fcb7e4

View File

@ -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));