Toggle shouldn't follow anchor

This commit is contained in:
kimth
2012-10-13 16:19:54 +00:00
parent a46c517a9d
commit 113e8b97b6

View File

@@ -16,6 +16,7 @@ class @Collapsible
el.find('.collapsible header a').click @toggleHint
@toggleFull: (event) =>
event.preventDefault()
$(event.target).parent().siblings().slideToggle()
$(event.target).parent().parent().toggleClass('open')
if $(event.target).text() == 'See full output'