mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
* remove YUI from ensureVisible replace usage of YUI with plain javascript in the ensureVisible method The current logic seems to have no effect, so it is changed in the following When the element is bigger then the current viewport height, scroll so that the element is at the top. If the elements is smaller than the viewport height and the bottom is outside scoll so that the bottom is at the lower end of the viewport. Otherwise no scrolling is needed the element is already completely inside the viewport. * apply prettier * remove body.scrollTop