Tabs with a location.hash value of #!/page/ or #/page/ error #484

Open
andrewdisley opened this Issue Sep 5, 2011 · 2 comments

Projects

None yet

2 participants

@andrewdisley

jQuery 1.6.2 / jQuery Tools: github dev

Problematic line 252 of tabs.js

if (location.hash && conf.tabs == "a" && root.find("[href=" +location.hash+ "]").length) {

In my local copy replaced with, as this regex suits my usage of hash.

if (location.hash && conf.tabs == "a" && root.find("[href=#" +location.hash.replace(/[^\w]/g, "")+ "]").length) {

@alibby251

Hi Andrew,

Thanks for posting the above - can you please give more detail as to what you were trying to solve or do? Do you have any examples, or a demo page, where it shows your issue, and what the fix is supposed to do?

Thanks.

@alibby251

The affected line is now at line 281.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment