mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 23:31:58 +02:00
MDL-21401 eliminating last uses of WHEN_TOP_OF_BODY
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user