Trigger title change for electron integration.
This commit is contained in:
parent
36cdf561d9
commit
bfbf8cd164
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ class App.Controller extends Spine.Controller
|
||||||
title = name
|
title = name
|
||||||
if translate
|
if translate
|
||||||
title = App.i18n.translatePlain(name)
|
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) ->
|
copyToClipboard: (text) ->
|
||||||
if window.clipboardData # IE
|
if window.clipboardData # IE
|
||||||
|
|
Loading…
Reference in a new issue