mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-27 02:59:47 +02:00
fix stuff
This commit is contained in:
@ -29,6 +29,8 @@ class WebVNC extends window.classes.BaseObject
|
||||
r('demo', 'demo')
|
||||
@client.oncopy = (text) ->
|
||||
cosole.log text
|
||||
@client.onerror = (m) ->
|
||||
alert(m)
|
||||
@client.init()
|
||||
.then () ->
|
||||
$("#connect").click (e) ->
|
||||
|
@ -199,6 +199,9 @@
|
||||
this.client.oncopy = function(text) {
|
||||
return cosole.log(text);
|
||||
};
|
||||
this.client.onerror = function(m) {
|
||||
return alert(m);
|
||||
};
|
||||
return this.client.init().then(function() {
|
||||
$("#connect").click(function(e) {
|
||||
return me.client.connect("/opt/www/vnc.conf", {
|
||||
|
Reference in New Issue
Block a user