mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
Add comment
This commit is contained in:
@@ -180,6 +180,8 @@ class @MergeRequestTabs
|
||||
$.ajax(options)
|
||||
|
||||
diffViewMode: ->
|
||||
# Gets diff view mode based from its ID
|
||||
# See diff_btn helper method
|
||||
btnID = $('a[id$="-diff-btn"].active').attr('id')
|
||||
btnID.substr(0, btnID.indexOf('-'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user