[broadway] Fix some typos in the js code

This commit is contained in:
Alexander Larsson 2011-04-08 11:45:16 +02:00
parent 930e43c710
commit 69eafcc3c5

View File

@ -447,7 +447,7 @@ function cmdMoveSurface(id, x, y)
* However this isn't *strictly* invalid, as any WM could have done whatever it
* wanted with the positioning of the window.
*/
//surface.window.moveTo(surface.x, surface.y);
surface.window.moveTo(surface.x, surface.y);
} else {
var xOffset = surface.x;
var yOffset = surface.y;
@ -934,7 +934,7 @@ function connect()
} else {
w = window.innerWidth;
h = window.innerHeight;
win.onresize = function(ev) {
window.onresize = function(ev) {
var w, h;
w = window.innerWidth;
h = window.innerHeight;