I'm getting a javascript error in IE, but only when I start up IE. If I hit reload, everything is fine again.
Error:
Message: 'document.getElementById(...)' is null or not an object
Strange thing is, that the following javascript is inserted before the html even starts. See start of page source:
<div id="fb-root"></div>
<scrip t etc etc....
...
document.getElementById('fb-root').appendChild(e);
...
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
After a page reload, that piece of javascript appears where one would expect it, not before the start of html.
Only occurs when I'm logged in through Joomla. When not logged in or logged in with Facebook, this error doesn't occur. Almost looks like one of the modules: jfbc login or hellome, is causing this...
This is driving me nuts. Tried to look for the exact cause, but I can't find it.
Any help would be highly appreciated.
Cheers,
Jeroen
PS: Using Joomla 1.5.9 with legacy enabled, JFBC 3.0.2