Removed web input

This commit is contained in:
clerie 2018-04-03 14:36:09 +02:00
parent 265dbe7ada
commit 96fccb7651
3 changed files with 0 additions and 28 deletions

2
public/jquery.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -1,8 +0,0 @@
$(function () {
var socket = io();
$('form').submit(function(){
socket.emit('input', $('#m').val());
$('#m').val('');
return false;
});
});