[TxMt] markdown_to_help.rb: tiny bug in JavaScript function goTo(id)

Allan Odgaard throw-away-2 at macromates.com
Wed Oct 24 20:42:54 UTC 2007


On 24/10/2007, at 09:25, Hans-Joerg Bibiko wrote:

> I just saw that there is a tiny bug in the JavaScript function  
> goTo(id) in markdown_to_help.rb.
> If you click at an item in the TOC it jumps to that anker but with a  
> wrong offset, meaning the beginning of the anker is hidden caused by  
> the TextMate header image.
> [...]

The reason we switched to JS was actually to avoid this offset. I  
reckon the behavior changed with latest WebKit.

I will update the code, thanks.



More information about the textmate mailing list