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

This commit is contained in:
Jed Fox 2018-05-28 07:35:44 -04:00 committed by Thibaut Courouble
parent d5d913fc11
commit a5b6ffb116

View file

@ -28,7 +28,7 @@ class app.views.Document extends app.View
return return
setTitle: (title) -> 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) => afterRoute: (route) =>
if route is 'settings' if route is 'settings'