瀏覽代碼

Move “DevDocs” in the tab title to after the dynamic portion of the title

Jed Fox 7 年之前
父節點
當前提交
a5b6ffb116
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assets/javascripts/views/layout/document.coffee

+ 1 - 1
assets/javascripts/views/layout/document.coffee

@@ -28,7 +28,7 @@ class app.views.Document extends app.View
     return
 
   setTitle: (title) ->
-    @el.title = if title then "DevDocs — #{title}" else 'DevDocs API Documentation'
+    @el.title = if title then "#{title} — DevDocs" else 'DevDocs API Documentation'
 
   afterRoute: (route) =>
     if route is 'settings'