リンクから常に新しいタブを開くとき、常に子タブになっていたのを修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1383 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-10-29 14:14:45 +00:00
parent 8f2c937a57
commit 62e5fed96e

View File

@ -873,7 +873,7 @@ catch(e) {
window[funcs[i]].toSource().replace(
/openNewTabWith\(/g,
<><![CDATA[
TreeStyleTabService.readyToOpenChildTab(event.target.ownerDocument.defaultView);
if (!TreeStyleTabService.checkToOpenChildTab(event.target.ownerDocument.defaultView)) TreeStyleTabService.readyToOpenChildTab(event.target.ownerDocument.defaultView);
openNewTabWith(]]></>
).replace(
/(event.ctrlKey|event.metaKey)/,