MDL-21401 eliminating last uses of WHEN_TOP_OF_BODY

This commit is contained in:
Petr Skoda
2010-01-20 18:07:49 +00:00
parent ba9806511b
commit 543f54d3e5
3 changed files with 8 additions and 22 deletions

View File

@@ -1168,22 +1168,6 @@ function old_onload_focus(formid, controlname) {
}
}
function scroll_to_end() {
window.scrollTo(0, 5000000);
}
var scrolltoendtimeout;
function repeatedly_scroll_to_end() {
scrolltoendtimeout = setInterval(scroll_to_end, 50);
}
function cancel_scroll_to_end() {
if (scrolltoendtimeout) {
clearTimeout(scrolltoendtimeout);
scrolltoendtimeout = null;
}
}
function create_UFO_object(eid) {
UFO.create(FO, eid);
}