less-buggy sticky

This commit is contained in:
Neale Pickett 2012-03-15 19:13:36 -06:00
parent 9aa521d666
commit 3b2da051dc
1 changed files with 1 additions and 2 deletions

View File

@ -67,7 +67,6 @@ function player(color, pos) {
var l = document.getElementById("link"); var l = document.getElementById("link");
var positions = []; var positions = [];
debug('up');
for (var i = 0; i < players.length; i += 1) { for (var i = 0; i < players.length; i += 1) {
positions.push(players[i].pos); positions.push(players[i].pos);
} }
@ -75,7 +74,7 @@ function player(color, pos) {
l.href = "#" + JSON.stringify(positions); l.href = "#" + JSON.stringify(positions);
window.onmousemove = null; window.onmousemove = null;
window.onclick = null; e.onclick = mouseDown;
} }
function mouseDown() { function mouseDown() {