1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

Fix compilation with --disable-css.

Compilation failed due to missing DEBUG_CSS test.
This was introduced in commit 98260f7970
This commit is contained in:
Laurent MONIN 2007-09-21 11:05:40 +02:00
parent fec10a1846
commit 05fc8f5169

View File

@ -151,8 +151,9 @@ html_stack_dup(struct html_context *html_context, enum html_element_mortality_ty
if (ep->attr.title) e->attr.title = stracpy(ep->attr.title);
if (ep->attr.select) e->attr.select = stracpy(ep->attr.select);
#ifdef CONFIG_CSS
e->attr.id = e->attr.class = NULL;
#endif
/* We don't want to propagate these. */
/* XXX: For sure? --pasky */
e->attr.onclick = e->attr.ondblclick = e->attr.onmouseover = e->attr.onhover