Removed web input
This commit is contained in:
parent
265dbe7ada
commit
96fccb7651
2
public/jquery.js
vendored
2
public/jquery.js
vendored
File diff suppressed because one or more lines are too long
@ -1,18 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>PixelNode</title>
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<form action="">
|
|
||||||
<input id="m" autocomplete="off"><button>Send</button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<script src="socket.io.js"></script>
|
|
||||||
<script src="jquery.js"></script>
|
|
||||||
<script src="send.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,8 +0,0 @@
|
|||||||
$(function () {
|
|
||||||
var socket = io();
|
|
||||||
$('form').submit(function(){
|
|
||||||
socket.emit('input', $('#m').val());
|
|
||||||
$('#m').val('');
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user