diff --git a/awx/ui/static/lib/ansible/authenticate.js b/awx/ui/static/lib/ansible/authenticate.js index b08c183159..f266a367f2 100644 --- a/awx/ui/static/lib/ansible/authenticate.js +++ b/awx/ui/static/lib/ansible/authenticate.js @@ -68,7 +68,7 @@ angular.module('AuthService', ['ngCookies']) logout: function() { // the following puts our primary scope up for garbage collection, which // should prevent content flash from the prior user. - var scope = angular.element(getElementById('main-view')).scope(); + var scope = angular.element(document.getElementById('main-view')).scope(); scope.$destroy(); // but just in case, clear the organization bits