• Bryce Johnson's avatar
    Render add-diff-note button with server. · 81e9c284
    Bryce Johnson authored
    This commit moves the rendering of the button back to the server, and
    shows/hides it using opacity rather than display. It also removes the
    transform applied to the button on hover (scale). Previously, both of these
    factors automatically triggered a reflow, which creates a performance
    bottleneck on pages with larger DOM size.
    
    MR: !12103
    81e9c284
single_file_diff.js 3.72 KB