Redirect Loop on IE6 #168

Open
allanwebix opened this Issue Mar 8, 2013 · 0 comments

Comments

Projects
None yet
1 participant

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