Skip to content

Commit d4fa6b8

Browse files
committed
time to remove IE (issue #735)
1 parent 59c74a3 commit d4fa6b8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/org/htmlunit/javascript/host/dom/Document.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4037,9 +4037,7 @@ public HtmlUnitScriptable getElementById(final String id) {
40374037
final DomNode domNode = getDomNodeOrDie();
40384038
final Object domElement = domNode.getFirstByXPath("//*[@id = \"" + id + "\"]");
40394039
if (domElement != null) {
4040-
if (LOG.isDebugEnabled()) {
4041-
LOG.debug("getElementById(" + id + "): no HTML DOM node found with this ID");
4042-
}
4040+
return ((DomElement) domElement).getScriptableObject();
40434041
}
40444042
return null;
40454043
}

0 commit comments

Comments
 (0)