diff options
Diffstat (limited to 'lib/logger.js')
-rw-r--r-- | lib/logger.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/logger.js b/lib/logger.js index 2e8101f..71514c9 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -112,11 +112,13 @@ Logger.prototype.createBlankPage = function (ttl, bodyBuildCB) { var logTab = tabs.open({ url: "about:blank", + inBackground: true, onOpen: function (tab) { var otherDoc = tab.contentDocument; otherDoc.title = title; otherDoc.body.innerHTML = "<h1>" + title + "</h1>"; bodyBuildCB.call(that, otherDoc.body); + tabs.activeTab = tab; } }); }; |