X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fcommon.js;h=285b02fef203f5dc165732c0b73a4d33580ade65;hb=dbd35a966c8be73011ee84643b588e8ccc6f892f;hp=f8533d5e74f3d40ad714c0943fb34b6ba073e7b6;hpb=9e85c8893c0602e35198abf93d69154a0828ddbd;p=kivitendo-erp.git diff --git a/js/common.js b/js/common.js index f8533d5e7..285b02fef 100644 --- a/js/common.js +++ b/js/common.js @@ -235,10 +235,6 @@ $(function () { } } - // 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. some forms install these if (typeof fokus == 'function') { fokus(); return; } if (focus_by_name('cursor_fokus')) return;