浏览代码

Fixed history on Lungo.Router

piniphone 13 年之前
父节点
当前提交
2a828bbb5d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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