views:

657

answers:

3

http://farmball.com/boston

The line that 'causes' the error:

IEPNGFix.process(element, 0);

Full code: http://pastie.org/648568

Note: I tried searching the phrase and IEPNGFix in Google, no luck. Also tried the MIRC Javascript chatroom before coming here.

What do I need to change?

A: 

I don't see where you define element as anything. Try passing in a valid element value to the IEPNGFix.process function.

Matt Huggins
+1  A: 

You need to change the hook function to:

IEPNGFix.hook = function(elm) {
    if (IEPNGFix.hook.enabled) {
     IEPNGFix.process(elm, 0);
    }
};
Matt
A: 

The second answer with the change to the function worked perfectly for me. Thanks for your help there.

WilberBeast