Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Ygg2
· 14y ago · 0 comments
Is there any way to return from file preview? Like for example if I click README.txt and I want to go back to see the rest of code.
Comments
[–]
jlward4th
14y ago
I built a little JS library that just does that part:
http://www.jamesward.com/2012/06/15/dynamically-rendering-gi...
[–]
stayclassytally
14y ago
You can click the Repo title again to return to the root, or the '..' if you're inside a folder.
[–]
Ygg2
OP
14y ago
Weird. Sometimes it works, other times it's just a blank page. It's still an elegant piece of code.