Browse Source

Fixed history on Lungo.Router

piniphone 13 năm trước cách đây
mục cha
commit
2a828bbb5d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/modules/Lungo.Router.coffee

+ 1 - 1
src/modules/Lungo.Router.coffee

@@ -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 if Lungo.Config.history
     do _updateNavigationElements