Remove an annoying space
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Mon, 20 Jun 2011 15:50:59 -0600
changeset 303 6fadee6e054c
parent 302 971ee4506a58
child 304 a7b50faff9b9
Remove an annoying space
tests.js
--- a/tests.js	Mon Jun 20 15:48:05 2011 -0600
+++ b/tests.js	Mon Jun 20 15:50:59 2011 -0600
@@ -67,7 +67,7 @@
 	var height2 = getComputedStyle(wordWrapTestDiv).height;
 	document.body.removeChild(wordWrapTestDiv);
 	if (height1 == height2) {
-		document.body.className += " wbr-workaround";
+		document.body.className = (document.body.className + " wbr-workaround").trim();
 	}
 })();
 //@}