Use dispatch('setTitle') and add dispatch('resetTitle')

This commit is contained in:
Feross Aboukhadijeh
2016-07-27 14:39:22 -07:00
parent 2590e0effc
commit c2f869b362
4 changed files with 7 additions and 5 deletions

View File

@@ -118,5 +118,5 @@ function setTitle (title) {
}
function resetTitle () {
setTitle(config.APP_WINDOW_TITLE)
window.main.dispatch('resetTitle')
}