diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-31 17:18:09 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-31 17:18:09 +0000 |
commit | 1f60cd8cd74b530932aa84e4e6b9ad1b10891c0a (patch) | |
tree | 8dd110e4a71e1783c3f37dde585ed5d3a3671d03 /lib/api/files.rb | |
parent | b86c3a73655f858e9da60475058ff1387eb18798 (diff) | |
download | gitlab-ce-1f60cd8cd74b530932aa84e4e6b9ad1b10891c0a.tar.gz |
Increase lazy loader performancelazy-load-check-when-has-images
This stops the checkElementsInView method from running when there aren't any lazy load images on the page. By calling this method we are causing an unnecessary reflow which on large pages is a massive performance issue
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions