Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Javi Jimenez Villar committed Feb 15, 2013
1 parent 3aeba68 commit b76a110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/Lungo.Router.Aside.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Lungo.Aside = do(lng = Lungo) ->
current_aside = lng.Element.Cache.aside

# Deactive
if (current_aside and aside_id isnt current_aside.attr("id")) or aside_id is null
if current_aside and aside_id isnt current_aside?.attr(C.ATTRIBUTE.ID)
current_aside.removeClass(C.CLASS.SHOW).removeClass C.CLASS.ACTIVE
lng.Element.Cache.aside = null

Expand Down

0 comments on commit b76a110

Please sign in to comment.