Jelajahi Sumber

fix js click

walkor 10 tahun lalu
induk
melakukan
b114ee0eb6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
 };