fix comment

This commit is contained in:
SHIMODA Hiroshi 2011-08-03 10:08:36 +09:00
parent 7ced731636
commit 257ebd24d9

View File

@ -187,14 +187,14 @@ var TreeStyleTabWindowHelper = {
'loadSearch' in BrowserSearch) {
eval('BrowserSearch.loadSearch = '+
BrowserSearch.loadSearch.toSource().replace(
// for old Firefox 3.6 or olders
// for old Firefox 4 and olders
'if (useNewTab) {',
<![CDATA[$&
if (TreeStyleTabService.shouldOpenSearchResultAsChild(arguments[0]))
TreeStyleTabService.readyToOpenChildTab();
]]>
).replace(
// for old Firefox 4 or later
// for Firefox 5 and later
'openLinkIn(',
<![CDATA[
if (useNewTab && TreeStyleTabService.shouldOpenSearchResultAsChild(arguments[0]))