diff --git a/src/atom/browser.coffee b/src/atom/browser.coffee index 3af9e7bd8..e45ba905e 100644 --- a/src/atom/browser.coffee +++ b/src/atom/browser.coffee @@ -28,6 +28,9 @@ class Browser extends Resource if 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 + if @title + window.setTitle @title + else + window.setTitle iframe.contentWindow.document.title + $(iframe).bind 'load', (e) => + window.setTitle e.target.contentWindow.document.title \ No newline at end of file