Don't duplicate tab on reloading
This commit is contained in:
parent
d7121d9042
commit
f4d43a5d93
@ -299,8 +299,8 @@ var TreeStyleTabWindowHelper = {
|
|||||||
if (!source || !/^\(?function (BrowserReloadOrDuplicate)/.test(source))
|
if (!source || !/^\(?function (BrowserReloadOrDuplicate)/.test(source))
|
||||||
continue;
|
continue;
|
||||||
eval(func+' = '+source.replace(
|
eval(func+' = '+source.replace(
|
||||||
/((?:openUILinkIn|duplicateTabIn)\()/g,
|
/((?:openUILinkIn|duplicateTabIn)\([^\)]+\))/g,
|
||||||
'TreeStyleTabService.onBeforeTabReloadOrDuplicate(where); $&'
|
'(TreeStyleTabService.onBeforeTabReloadOrDuplicate(where), $&)'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user