commit
703128ab28
2 changed files with 3 additions and 3 deletions
|
@ -317,7 +317,7 @@ function($rootScope,
|
|||
// password was OK. Store that result and check for it
|
||||
// in the failure handler.
|
||||
$rootScope.waseverconnected = true;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
var onclose = function () {
|
||||
|
|
|
@ -122,9 +122,9 @@ function($rootScope, $q) {
|
|||
|
||||
if ('onmessage' in properties) {
|
||||
ws.onmessage = function(event) {
|
||||
properties['onmessage'](event);
|
||||
properties.onmessage(event);
|
||||
onmessage(event);
|
||||
}
|
||||
};
|
||||
} else {
|
||||
ws.onmessage = onmessage;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue