Fixed mistake where document doesn't actually have the created body or head in WebPage.java
This commit is contained in:
@@ -44,6 +44,10 @@ public abstract class WebPage {
|
||||
this.head = (HTMLHeadElement) this.document.createElement("head");
|
||||
|
||||
this.body = (HTMLBodyElement) this.document.createElement("body");
|
||||
|
||||
this.document.appendChild(this.head);
|
||||
|
||||
this.document.appendChild(this.body);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user