ツリー型タブの機能で自動的にリンクをタブで開けなくなっていた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6655 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
53090d18b3
commit
7ae995270d
@ -1273,7 +1273,7 @@ var TreeStyleTabUtils = {
|
|||||||
else if (aLink instanceof Ci.nsIDOMElement) {
|
else if (aLink instanceof Ci.nsIDOMElement) {
|
||||||
options = { link : aLink };
|
options = { link : aLink };
|
||||||
}
|
}
|
||||||
options.__prpto__ = {
|
options.__proto__ = {
|
||||||
external : {
|
external : {
|
||||||
newTab : this.getTreePref('openOuterLinkInNewTab') || this.getTreePref('openAnyLinkInNewTab'),
|
newTab : this.getTreePref('openOuterLinkInNewTab') || this.getTreePref('openAnyLinkInNewTab'),
|
||||||
forceChild : true
|
forceChild : true
|
||||||
@ -1281,7 +1281,8 @@ var TreeStyleTabUtils = {
|
|||||||
internal : {
|
internal : {
|
||||||
newTab : this.getTreePref('openAnyLinkInNewTab')
|
newTab : this.getTreePref('openAnyLinkInNewTab')
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
options.uri = options.link.href;
|
||||||
return this.checkReadyToOpenNewTab(options);
|
return this.checkReadyToOpenNewTab(options);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user