summaryrefslogtreecommitdiff
path: root/cao-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'cao-common.js')
-rw-r--r--cao-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cao-common.js b/cao-common.js
index 909468f..5c40f86 100644
--- a/cao-common.js
+++ b/cao-common.js
@@ -45,7 +45,7 @@ var CAO = function() {
ws.onerror = function(evt) {
console.log(evt);
- this.on_socket_error(evt);
+ self.on_socket_error(evt);
};
};