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

Redirect Loop on IE6 #168

Open
jaxjixmix opened this issue Mar 8, 2013 · 0 comments
Open

Redirect Loop on IE6 #168

jaxjixmix opened this issue Mar 8, 2013 · 0 comments

Comments

@jaxjixmix
Copy link

Hi,

I've been using Jquery address in one of my project and everything works great but when I tried it in IE6, the behavior is very weird.

When I try to visit
http://www.local.test.com/?param=123

it loops infinitely:
http://www.local.test.com/#/?param=123#/?param=123#/?param=123#/?param=123#/?param=123#/

By the way, here is my jquery initialization

(function($){
//JQUERY ADDRESS Initialization
var init = true;
state = window.history.pushState !== undefined;

$.address.state('/').init(function(event) {
    $('.address').address();
}).change(function(event) {
    if (state && init) {
        init = false;
        //handleRequest();
    } 
    route();
});
if (!state) {

}
}(jQuery));

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

No branches or pull requests

1 participant