Commit e6ee1f36 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'diff-js-error-fix' into 'master'

Fixed issue with spinner not hiding on diff changes

See merge request !3793
parents ea615534 872d31d6
...@@ -183,9 +183,10 @@ class @MergeRequestTabs ...@@ -183,9 +183,10 @@ class @MergeRequestTabs
else else
$diffLine = $('td', $diffLine) $diffLine = $('td', $diffLine)
$diffLine.addClass 'hll' if $diffLine.length
diffLineTop = $diffLine.offset().top $diffLine.addClass 'hll'
navBarHeight = $('.navbar-gitlab').outerHeight() diffLineTop = $diffLine.offset().top
navBarHeight = $('.navbar-gitlab').outerHeight()
loadBuilds: (source) -> loadBuilds: (source) ->
return if @buildsLoaded return if @buildsLoaded
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment