Browse Source

fix js click

walkor 10 năm trước cách đây
mục cha
commit
b114ee0eb6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 };