changeset 1851:1f9436adc83f

Possible fix for Safari on storage load error.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 23 Feb 2016 11:17:44 +0000
parents 91c342dbe750
children e97471529c64
files core.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core.js	Tue Feb 23 10:49:48 2016 +0000
+++ b/core.js	Tue Feb 23 11:17:44 2016 +0000
@@ -3094,7 +3094,7 @@
 	this.globalPostTest = null;
 	this.testPages = [];
 	this.document = document.implementation.createDocument(null,"waetresult");
-	this.root = this.document.children[0];
+	this.root = this.document.childNodes[0];
 	this.state = 0;
 	
 	this.initialise = function()