mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[Mobile[ Tests
Added jasmine test for QUerySerivce and adjusted the InfoGestureSpec to account for use of QueryService.
This commit is contained in:
@ -58,7 +58,7 @@ define(
|
||||
|
||||
// Returns the orientation of the device based on the
|
||||
// device's window dimensions
|
||||
function getOrientation(screenWidth, screenHeight) {
|
||||
function getOrientation() {
|
||||
if ($window.outerWidth > $window.outerHeight) {
|
||||
return "landscape";
|
||||
} else if ($window.outerWidth < $window.outerHeight) {
|
||||
|
Reference in New Issue
Block a user