Prechádzať zdrojové kódy

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

Jed Fox 7 rokov pred
rodič
commit
a5b6ffb116

+ 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'