Skip to content

Commit

Permalink
Better fix on Lungo.Router
Browse files Browse the repository at this point in the history
  • Loading branch information
pinaypunto committed May 28, 2013
1 parent 2a828bb commit b871006
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/Lungo.Router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Lungo.Router = do(lng = Lungo) ->

lng.Section.show current, target
lng.Router.step section_id
do _url if Lungo.Config.history
do _url unless Lungo.Config.history is false
do _updateNavigationElements


Expand All @@ -55,7 +55,7 @@ Lungo.Router = do(lng = Lungo) ->
if target.hasClass("aside") then lng.Aside.toggle()

lng.Section.show current, target
do _url if Lungo.Config.history
do _url unless Lungo.Config.history is false
do _updateNavigationElements


Expand All @@ -75,7 +75,7 @@ Lungo.Router = do(lng = Lungo) ->

if element?.data(C.ATTRIBUTE.TITLE)?
lng.Element.Cache.section.find(C.QUERY.TITLE).text element.data(C.ATTRIBUTE.TITLE)
do _url if Lungo.Config.history
do _url unless Lungo.Config.history is false
do _updateNavigationElements


Expand Down

0 comments on commit b871006

Please sign in to comment.