changeset 551:5cd12e23b195 Dev_main

Possible fix for Safari on storage load error.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 11:17:44 +0000
parents aa55372146a0
children d3c573f936a9
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()