mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 13:18:15 +00:00
Fixed JSLint errors
This commit is contained in:
@ -33,10 +33,11 @@ define(
|
||||
*/
|
||||
function ElementsController($scope) {
|
||||
function filterBy(text){
|
||||
if (typeof text === 'undefined')
|
||||
if (typeof text === 'undefined') {
|
||||
return $scope.searchText;
|
||||
else
|
||||
} else {
|
||||
$scope.searchText = text;
|
||||
}
|
||||
}
|
||||
$scope.filterBy = filterBy;
|
||||
}
|
||||
|
Reference in New Issue
Block a user