Ver Fonte

fix js click

walkor há 10 anos atrás
pai
commit
b114ee0eb6
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
 };