[openload] fix js evaluation

This commit is contained in:
David McFarland 2018-01-03 00:35:30 -04:00
parent 9650c3e91d
commit 50724167ce
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class PhantomJSwrapper(object):
phantom.exit();
}};
page.onLoadFinished = function(status) {{
if(page.url === "") {{
if(page.url === "" || page.url === "about:blank") {{
page.setContent(fs.read("{html}", read), "{url}");
}}
else {{