Twitter-Plugin in IE7

Found a bug? Tell us!!
Post Reply
elroyguess
Posts: 3
Joined: Tue Nov 11, 2008 10:22 am
Contact:

Twitter-Plugin in IE7

Post by elroyguess »

After installing Twitter-Plugin I could see my Twitter-Posts in FF and Chrome, but not in IE7. IE7 did not like the line

Code: Select all

document.getElementById('twitter_update_list').innerHTML = statusHTML;
in blogger.js.

After changing it to

Code: Select all

document.getElementById('twitter_update_list').parentNode.innerHTML = statusHTML;
it worked in all browsers.

Is it a bug or is there another workaround for that?

EDIT: Added the missing "." which is in the original line.
Last edited by elroyguess on Sat Feb 14, 2009 8:49 pm, edited 1 time in total.
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Re: Twitter-Plugin in IE7

Post by judebert »

If that line is copied correctly, it's a bug. However, in the version of the plugin I've got, it's actually got a period between the parentheses and the innerHTML...

Code: Select all

document.getElementById('twitter_update_list').innerHTML = statusHTML;
...which should work correctly.

There is a bug in IE, where getElementById will actually return the first element with that name, not id. Could that be getting in the way?
Judebert
---
Website | Wishlist | PayPal
Post Reply