This commit is contained in:
Daniel Brooks 2009-11-18 06:15:03 -06:00
Родитель f8784c1741
Коммит c50c97c5bf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -78,7 +78,6 @@ function nextTest()
}
else {
screenTest = true;
setScale(window, 2);
var box = document.documentElement.boxObject;
// - the iframe is at 4×, but out here css pixels are only 2× device pixels
@ -86,6 +85,7 @@ function nextTest()
// integers, so ensure we pass in even numbers to openPopupAtScreen
screenx = (x = even(box.screenX + 120))/2;
screeny = (y = even(box.screenY + 120))/2;
setScale(window, 2);
$("popup").openPopupAtScreen(x, y);
}
}