[pLog-svn] r4709 - plog/branches/lifetype-1.2/js/editor
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat Feb 10 05:26:34 EST 2007
Author: oscar
Date: 2007-02-10 05:26:33 -0500 (Sat, 10 Feb 2007)
New Revision: 4709
Modified:
plog/branches/lifetype-1.2/js/editor/lifetypeeditor.js
Log:
This seems to be working better with Safari.
Modified: plog/branches/lifetype-1.2/js/editor/lifetypeeditor.js
===================================================================
--- plog/branches/lifetype-1.2/js/editor/lifetypeeditor.js 2007-02-10 10:12:14 UTC (rev 4708)
+++ plog/branches/lifetype-1.2/js/editor/lifetypeeditor.js 2007-02-10 10:26:33 UTC (rev 4709)
@@ -113,7 +113,8 @@
link.rel = "stylesheet";
link.type = "text/css";
link.href = Lifetype.getBaseURL() + "/js/editor/lifetypeeditor.css";
- document.documentElement.appendChild( link );
+ head = document.getElementsByTagName('head').item( 0 );
+ head.appendChild( link );
// first of all, check for unsupported browsers. If the browser
// is not supported, we will silently not do anything... since we won't
More information about the pLog-svn
mailing list