Fix browser unserializability check so it works
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Fri, 13 May 2011 14:19:28 -0600
changeset 116 b1e60e246b57
parent 115 2714d4c02e5d
child 117 a34ed2ee42b3
Fix browser unserializability check so it works

It work during testing, but then I broke it.
autoimplementation.html
--- a/autoimplementation.html	Fri May 13 14:04:14 2011 -0600
+++ b/autoimplementation.html	Fri May 13 14:19:28 2011 -0600
@@ -1604,7 +1604,7 @@
 
 		testDiv.contentEditable = "inherit";
 		testDiv.removeAttribute("spellcheck");
-		var compareDiv1 = browserCell.firstChild.cloneNode(true);
+		var compareDiv1 = testDiv.cloneNode(true);
 
 		if (getSelection().rangeCount) {
 			addBrackets(getSelection().getRangeAt(0));