Bug Tracker

Opened 9 years ago

Closed 9 years ago

#7227 closed bug (duplicate)

querying hash stopped working in the new (1.4.3) version

Reported by: anonymous Owned by: anonymous
Priority: low Milestone: 1.4.4
Component: unfiled Version: 1.4.3
Keywords: location hash Cc:
Blocked by: Blocking:

Description

$(location).attr('hash') always returns undefined. in 1.4.2 it worked.

Change History (2)

comment:1 Changed 9 years ago by addyosmani

Keywords: location hash added
Owner: set to anonymous
Priority: undecidedlow
Status: newpending

Can you please submit a valid test case using jsFiddle.net so that we can accurately evaluate your bug ticket using the original test you were running?

comment:2 Changed 9 years ago by john

Resolution: duplicate
Status: pendingclosed

There's no reason to use jQuery for this - just do: location.hash to get the hash

Note: See TracTickets for help on using tickets.