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

Fixed issue with spinner not hiding on diff changes

See merge request !3793
This commit is contained in:
Robert Speicher 2016-04-18 16:30:41 +00:00
commit e6ee1f36c4

View file

@ -183,9 +183,10 @@ class @MergeRequestTabs
else
$diffLine = $('td', $diffLine)
$diffLine.addClass 'hll'
diffLineTop = $diffLine.offset().top
navBarHeight = $('.navbar-gitlab').outerHeight()
if $diffLine.length
$diffLine.addClass 'hll'
diffLineTop = $diffLine.offset().top
navBarHeight = $('.navbar-gitlab').outerHeight()
loadBuilds: (source) ->
return if @buildsLoaded