Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-31 20:11:41 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-31 20:11:41 +0300
commitc767e2e0fd72d91ba52f4f4bc23598545004920e (patch)
treebe570d3f856f947adc2dfd2d1fb9dbb770cda45c /lib/gitlab
parente334ec0683b77f46f19e1474289a9edfd2fb8c13 (diff)
parent1fdf56c95d82292a3050578fed3bb258abbc6e9c (diff)
Merge branch 'fix-headers-blocking-anchors' into 'master'
Prevent anchors from being hidden by header upon a new page load Browsers change the scroll position after the page is loaded, and the current 1 ms delay wasn't long enough for the browser to jump to the anchor. Even then, it appears another 100ms delay is necessary to adjust the scroll properly: http://stackoverflow.com/questions/19057731/scrolltop-on-page-reload-doesnt-work-possible-script-conflict Add a little more of an offset to see a few lines before the anchor. * Closes #1614 * Closes #1024 See merge request !1225
Diffstat (limited to 'lib/gitlab')
0 files changed, 0 insertions, 0 deletions