Open yuki opened 6 years ago
Right now the url is like "https://myvault.example.com/#!/secret/foo", and it shows the secret. When showing the secret, there's a "hack" when clicking a link in the TOC ($('div.markdown-toc a').click(function(e)... ) to scroll down to its section.
It's working, but it doesn't change the URL/hash. It should be changed to something like "https://myvault.example.com/#!/secret/foo#section" in order to have "traceability".
This should be done in "hash_changed(event)"
Right now the url is like "https://myvault.example.com/#!/secret/foo", and it shows the secret. When showing the secret, there's a "hack" when clicking a link in the TOC ($('div.markdown-toc a').click(function(e)... ) to scroll down to its section.
It's working, but it doesn't change the URL/hash. It should be changed to something like "https://myvault.example.com/#!/secret/foo#section" in order to have "traceability".
This should be done in "hash_changed(event)"