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))
|
||||
continue;
|
||||
eval(func+' = '+source.replace(
|
||||
/((?:openUILinkIn|duplicateTabIn)\()/g,
|
||||
'TreeStyleTabService.onBeforeTabReloadOrDuplicate(where); $&'
|
||||
/((?:openUILinkIn|duplicateTabIn)\([^\)]+\))/g,
|
||||
'(TreeStyleTabService.onBeforeTabReloadOrDuplicate(where), $&)'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user