}
}
+ // scroll to the active element. jQuery.focus doesn't do this
+ // TODO: find out how to reliably frame the active element
+ window.scrollTo(0, document.activeElement.getBoundingClientRect().top);
+
// legacy. sone forms install these
if (typeof fokus == 'function') { fokus(); return; }
if (focus_by_name('cursor_fokus')) return;