sander / code-illuminated

Automatically exported from code.google.com/p/code-illuminated
0 stars 0 forks source link

#docs/docs.js#0 becomes #docs/docs.js%230 in safari #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in safari, links which have an href like #docs/docs.js#0, become 
#docs/docs.js%230 when you click 
on them.  these types of links work in FF and these are the only 2 browsers 
i've tried.  perhaps you 
could use #docs/docs.js/0 as an alternative but i haven't confirmed that it 
will work consistently.  

the fix is just a simple matter of changing line 171 of docs/docs.js to create 
a different string for 
the anchor.

Original issue reported on code.google.com by neonstal...@gmail.com on 6 Sep 2009 at 3:03

GoogleCodeExporter commented 9 years ago
in case it's not clear... i should mention that i'm referring to the 
layoutchange branch

Original comment by neonstal...@gmail.com on 6 Sep 2009 at 3:22

GoogleCodeExporter commented 9 years ago
i made this change and another change in App.navigate so that it doesn't hide 
the page if a link from the TOC is 
clicked.  i'm providing a diff attached to this comment.  let me know if i need 
to sign something to be able to 
contribute this to you.

thanks,

ben...

Original comment by neonstal...@gmail.com on 14 Sep 2009 at 4:14

Attachments: