diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 07e06997..5185b28b 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -760,8 +760,11 @@ catch(e) { '{', <> ).replace( 'aTriggeringEvent && aTriggeringEvent.altKey', @@ -772,16 +775,17 @@ catch(e) { ( ( TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') && - currentURI.host == RegExp.$1 && + currentHost == RegExp.$1 && (TreeStyleTabService.readyToOpenChildTab( - parentTab && parentTab.linkedBrowser.currentURI.host == RegExp.$1 ? + parentHost == RegExp.$1 ? parentTab : null ), true) ) || ( TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') && - currentURI.host != RegExp.$1 + currentHost != RegExp.$1 && + currentURI.spec != 'about:blank' ) ) )