Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for error on ie8 and older #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix for error on ie8 and older #34

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 27, 2012

error on ie9comp, ie8 and older: "Unable to get value of the property 'substring': object is null"
the object is the url.

… 'substring': object is null"

the object is the url.

// IE8- bugfix
if (typeof(url) !== 'string')
return contextUrl;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/b surrounded with curly braces

@mlhDevelopment
Copy link

I had the same issue and this pull request fixed it for me (using version 1.0.3b + this mod).

@beeFlaherty
Copy link

This worked for me. Thanks.

@corysimmons
Copy link

@keithclark disappeared so I'm going to try and maintain this project at https://github.com/corysimmons/selectivizr2

Would you please reopen/rebase your PR over there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants