diff --git a/app/assets/javascripts/app/controllers/_application_controller.coffee b/app/assets/javascripts/app/controllers/_application_controller.coffee index 268a38505..a27118268 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.coffee @@ -88,7 +88,9 @@ class App.Controller extends Spine.Controller title = name if translate title = App.i18n.translatePlain(name) - document.title = @Config.get('product_name') + ' - ' + title + documentTitle = "#{@Config.get('product_name')} - #{title}" + document.title = documentTitle + App.Event.trigger('window-title-set', documentTitle) copyToClipboard: (text) -> if window.clipboardData # IE