mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 22:09:43 +03:00
remove extraneous debug
This commit is contained in:
parent
2b6bd44ef0
commit
b84dc91e3d
@ -7,15 +7,11 @@ operation getElementById %{
|
||||
dom_element *element;
|
||||
dom_exception exc;
|
||||
|
||||
LOG(("elementId_len %d elementId %s",elementId_len,elementId));
|
||||
|
||||
dom_string_create((unsigned char*)elementId, elementId_len, &elementId_dom);
|
||||
LOG(("dom string %p", elementId_dom));
|
||||
|
||||
|
||||
exc = dom_document_get_element_by_id(private->node, elementId_dom, &element);
|
||||
if ((exc == DOM_NO_ERR) && (element != NULL)) {
|
||||
jsret = jsapi_new_HTMLElement(cx, NULL, JS_GetGlobalObject(cx), element, private->htmlc);
|
||||
jsret = jsapi_new_HTMLElement(cx, NULL, NULL, element, private->htmlc);
|
||||
}
|
||||
%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user