diff --git a/awx/ui/static/lib/ansible/Socket.js b/awx/ui/static/lib/ansible/Socket.js index a774954a82..a56f3abf7f 100644 --- a/awx/ui/static/lib/ansible/Socket.js +++ b/awx/ui/static/lib/ansible/Socket.js @@ -153,10 +153,10 @@ angular.module('SocketIO', ['AuthService', 'Utilities']) checkStatus: function() { // Check connection status var self = this; - if (self.socket.socket.connected) { + if (self.socket.connected) { self.scope.socketStatus = 'ok'; } - else if (self.socket.socket.connecting || self.socket.socket.reconnecting) { + else if (self.socket.connecting || self.socket.reconnecting) { self.scope.socketStatus = 'connecting'; } else {