History.js for jQuery fires unwanted "alert" in IE7
===

I'm using History.js for jQuery in the following way (v1.7.1, html4+html5 bundle)


preparation at the the top of my js file:

    (function(window,undefined){
    
        // Prepare
        var History = window.History; // Note: We are using a capital H instead of a lower h
        if ( !History.enabled ) {
             // History.js is disabled for this browser.
             // This is because we can optionally choose to support HTML4 browsers or not.
            return false;
        }
    
        // Bind to StateChange Event
        History.Adapter.bind(window,'statechange',function(){ // Note: We are using statechange instead of popstate
            var State = History.getState(); // Note: We are using History.getState() instead of event.state
            History.log(State.data, State.title, State.url);
        });
    
    })(window);

then further down in my code:


		$foo.click(function(e) {
			e.preventDefault();
			History.pushState({}, "", "?" + bar);
		});

basically what I want to achieve is, every time certain items are clicked, the querystring `"?" + bar` is appended to the url and the pushState stores it in the browser history. This works perfectly fine in FF latest but when testing it in IE7, the following alert-like message appears:

![History.js error in IE7][1]
  [1]: http://i.stack.imgur.com/mSjTZ.gif

the url in the popup is the one I'm expecting, even though in the browser it appears as

    http://www.foobar.com/.../#?Fixed

that is, with an extra hash. what worries me, though, is the error message - any clues?