mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
adding clarifying comments because this was confusing me and timeless - comments only, does not affect product
This commit is contained in:
parent
fb0470cf83
commit
ebb911891d
@ -161,8 +161,14 @@ function createSearchRow(index, scope, searchTerm)
|
||||
gSearchRowContainer.appendChild(searchrow);
|
||||
|
||||
searchTermElement.searchScope = scope;
|
||||
// the search term will initialize the searchTerm element, including
|
||||
// .booleanAnd
|
||||
if (searchTerm)
|
||||
searchTermElement.searchTerm = searchTerm;
|
||||
|
||||
// here, we don't have a searchTerm, so it's probably a new element -
|
||||
// we'll initialize the .booleanAnd from the existing setting in
|
||||
// the UI
|
||||
else
|
||||
searchTermElement.booleanAnd = getBooleanAnd();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user