rename to wirc

This commit is contained in:
Neale Pickett 2014-08-13 03:42:47 +00:00
parent 8d165d1a07
commit a908df5550
3 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@
<head>
<title>#tron</title>
<link rel="icon" type="image/png" sizes="64x64" href="chat.png">
<script type="application/javascript" src="irc.js"></script>
<link rel="stylesheet" type="text/css" href="irc.css">
<script type="application/javascript" src="wirc.js"></script>
<link rel="stylesheet" type="text/css" href="wirc.css">
</head>
<body>
<div id="foraButtons"></div>

View File

@ -44,7 +44,7 @@
background-color: yellow;
}
.current {
background-color: aquamarine;
background-color: cornsilk;
}
input[name~=target] {

View File

@ -171,7 +171,7 @@ function handleCommand(event) {
function reqListener() {
}
oReq.onload = reqListener;
oReq.open("POST", "irc.cgi", true);
oReq.open("POST", "wirc.cgi", true);
oReq.send(new FormData(event.target));
event.target.reset();
@ -183,7 +183,7 @@ function init() {
var authtok = prompt("Auth token", "");
document.getElementById("authtok").value = authtok;
var source = new EventSource("irc.cgi?auth=" + authtok);
var source = new EventSource("wirc.cgi?auth=" + authtok);
source.onmessage = newmsg;
document.getElementById("command").onsubmit = handleCommand;