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

Closed
csytan opened this Issue Feb 5, 2010 · 2 comments

Projects

None yet

2 participants

csytan commented Feb 5, 2010

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 commented Feb 8, 2010

Updated version fixed this problem

Owner
cowboy commented Feb 11, 2010

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 pushed a commit to coodoo/zzz that referenced this issue Jan 23, 2014
@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