提交 e6ee1f36 编写于 作者: R Robert Speicher

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

Fixed issue with spinner not hiding on diff changes

See merge request !3793
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册