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