Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Safari 4 - Hash change event throws error after navigating to a page on a different domain #2

Closed
csytan opened this Issue · 2 comments

2 participants

@csytan

To reproduce (in Safari 4, OSX):
1. Visit http://benalman.com/code/projects/jquery-hashchange/examples/hashchange/
2. Click on the Test buttons to trigger hash change
3. Visit http://google.com (or another domain)
4. Click the back button several times. The first hash change will throw an error.

The error returned is:
TypeError: Result of expression 'url' [undefined] is not an object.
Line 91 on: jquery.ba-hashchange.js

Cheers & Thanks for the great plugin

@csytan

Updated version fixed this problem

@cowboy
Owner

This has been fixed with the release of 1.2.

I've also submitted a bug report to WebKit Bugzilla along with an example page.

@coodoo coodoo referenced this issue from a commit in coodoo/zzz
@cheeaun cheeaun - Fixes Safari back-button from different domain bug (cowboy/jquery-h…
…ashchange#2)

- Fixes tappable click event not firing when Mobile Safari does fancy animation, AND firing from the wrong 'clickTarget'.
6fa79ce
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.