浏览代码

fix js click

walkor 10 年之前
父节点
当前提交
b114ee0eb6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Applications/SimpleChat/Web/index.html

+ 1 - 1
Applications/SimpleChat/Web/index.html

@@ -30,7 +30,7 @@ ws.onmessage = function(e)
         }
     }
 };
-button.onclick = function()
+button.click = function()
 {
 	ws.send(content.value);
 };