Skip to content

IE (any version) /none image request #6

@jamesvecore

Description

@jamesvecore

There seems to be a bug with the fixPNG function where it causes IE to make a request for an image for the background-image style with a url that has 'none' in it. This is generating error messages in my application because that url is not a valid request. My solution was to change this:

$(this).css({
                    'backgroundImage': 'none',
...

to this:

$(this).css({
                    'backgroundImage': '',
...

I'm not positive of the repercussion of this change for others, so I will leave it for you to decide if this breaks anything or not.

Thanks,

-Jim

I have verified on IE9 this works, but I don't have access to older versions of IE to test with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions