提交 9a60bd54 编写于 作者: A Alfredo Sumaran

Change method name for consistency

上级 27a0310f
......@@ -146,7 +146,7 @@ class @MergeRequestTabs
success: (data) =>
document.querySelector("div#diffs").innerHTML = data.html
$('div#diffs .js-syntax-highlight').syntaxHighlight()
@expandViewContainer() if @diffViewMode() is 'parallel'
@expandViewContainer() if @diffViewType() is 'parallel'
@diffsLoaded = true
@scrollToElement("#diffs")
......@@ -180,7 +180,7 @@ class @MergeRequestTabs
$.ajax(options)
# Returns diff view type
diffViewMode: ->
diffViewType: ->
$('.diffs a[id$="-diff-btn"].active').data('view-type')
expandViewContainer: ->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册