Harsha M V
Harsha M V

Reputation: 54949

Website causes script error in IE8

I have a single page Wordpress Website http://sophiance.com/

Owing to the nature of the website it has a log of assets like jquery plugins and images.

It seems to crash IE8 browser in all machines I have tried and at times hangs the computer as well.

enter image description here

Upvotes: 0

Views: 348

Answers (1)

Teemu
Teemu

Reputation: 23396

You have a trailing comma in an object literal definition at line 717, and three more after it.

Cufon.replace('.articleReadMore', {
        hover: {
            color: '#0171a0'
        }, <--- Remove this
    });

Just remove the comma; IE8 didn't support trailing commas, but IE9+ and other browsers do.

Upvotes: 3

Related Questions