Bug in IE with Facelift v1.2 beta 3, released fixed version

Shortly after putting up v1.2 beta 3 for download I noticed a problem. It has been fixed and Facelift is back to working in IE again. If you’ve already downloaded v1.2 b3 you can make the change yourself or you could download v1.2 beta 3-2.

Open flir.js and go to line 130.

Change:
var tags = typeof els=='undefined'?['h1','h2','h3','h4','h5']:(els.indexOf(’,')>-1?els.split(’,'):els);

To:
var tags = typeof els==’undefined’?['h1','h2','h3','h4','h5']:(els.indexOf && els.indexOf(’,')>-1?els.split(’,'):els);

2 Responses to “Bug in IE with Facelift v1.2 beta 3, released fixed version”

  1. Matt Says:

    I have tried to use this and have made sure that the alteration to the code specified above is in place, however it is still not working in IE6 - all I get is the browser default text with the stylesheet default text layered over the top, and in each text field I also get an image failure “x” too!, it works in IE7 and in firefox 2 & 3 but not in IE6, I have had to disable all the flir code, so that my site is running correctly as it is likely to be viewed in IE6.

    [Reply]

    Cory reply on 2008-09-11 04.23.37:

    You may want to download v1.2 beta 4. http://www.mawhorter.net/projects/facelift-v12-beta-4-has-been-released

    It sounds like you’re experiencing a Javascript error but you might still find http://forums.mawhorter.net/viewtopic.php?id=58 useful.

    [Reply]

Leave a Reply

© 2009 Cory Mawhorter