[broadway] Disable context menu so rmb works

This commit is contained in:
Alexander Larsson 2010-11-25 20:39:17 +01:00
parent 4004882b92
commit d6029949e6

View File

@ -321,6 +321,7 @@ function connect()
} else {
alert("WebSocket not supported, input will not work!");
}
document.oncontextmenu = function () { return false; }
document.onmousemove = on_mouse_move;
document.onmousedown = on_mouse_down;
document.onmouseup = on_mouse_up;