Skip to content

Commit

Permalink
Sidebar navigation bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
inossidabile committed Nov 9, 2013
1 parent e14fb21 commit 3ded1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Boris Staal"
}
],
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"licenses": [
{
"type": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion themes/default/assets/javascript/sidebar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $ ->
#
$('body #content.list ul').on 'click', 'li', (event) ->
link = $(@).find('a:not(.toggle)').attr('href')
top.frames['main'].location.href = link unless link is '#' if link
top.frames['main'].location.href = link if link && link != '#'
event.preventDefault()

#
Expand Down

0 comments on commit 3ded1a8

Please sign in to comment.