diff --git a/src/atom/browser.coffee b/src/atom/browser.coffee index 269b8cb9f..3af9e7bd8 100644 --- a/src/atom/browser.coffee +++ b/src/atom/browser.coffee @@ -23,5 +23,11 @@ class Browser extends Resource super + iframe = @pane.find('iframe')[0] + if innerHTML - @pane.find('iframe')[0].contentWindow.document.body.innerHTML = innerHTML + iframe.contentWindow.document.body.innerHTML = innerHTML + + window.setTitle iframe.contentWindow.document.title + $(iframe).bind 'load', (e) => + window.setTitle e.target.contentWindow.document.title \ No newline at end of file