summaryrefslogtreecommitdiff
path: root/lib/api/snippets.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-31 17:18:09 +0000
committerPhil Hughes <me@iamphill.com>2017-10-31 17:18:09 +0000
commit1f60cd8cd74b530932aa84e4e6b9ad1b10891c0a (patch)
tree8dd110e4a71e1783c3f37dde585ed5d3a3671d03 /lib/api/snippets.rb
parentb86c3a73655f858e9da60475058ff1387eb18798 (diff)
downloadgitlab-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/snippets.rb')
0 files changed, 0 insertions, 0 deletions