mirror of
https://github.com/nasa/openmct.git
synced 2025-04-20 17:11:11 +00:00
[Mobile] Browse Object
Added comments and removed unnecessary commented out code.
This commit is contained in:
parent
00f71d3882
commit
08794346c8
@ -65,17 +65,10 @@ define(
|
||||
}
|
||||
}
|
||||
|
||||
//// If there is a defined opener, assume that the window was opened
|
||||
//// by choosing 'Open in a new tab'
|
||||
//if ($window.opener) {
|
||||
// // The desired default for this is to have a closed left pane
|
||||
// $scope.ngModel.leftPane = false;
|
||||
//} else {
|
||||
// // Otherwise, start the application with an open left pane
|
||||
// $scope.ngModel.leftPane = true;
|
||||
//}
|
||||
|
||||
// If there is a defined opener or user is on mobile
|
||||
// openned window will start with tree pane closed
|
||||
$scope.ngModel.leftPane = ($window.opener || agentService.isMobile(navigator.userAgent)) ? false : true;
|
||||
|
||||
// The object inspector by default always starts closed
|
||||
$scope.ngModel.rightPane = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user